Skip to main content
GET
/
{chain_id}
/
api
/
v2
/
blocks
/
{block_hash_or_number_param}
/
internal-transactions
List internal transactions in a specific block
curl --request GET \
  --url https://api.blockscout.com/{chain_id}/api/v2/blocks/{block_hash_or_number_param}/internal-transactions \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "block_number": 123,
      "created_contract": {
        "ens_domain_name": "<string>",
        "hash": "<string>",
        "implementations": [
          {
            "address_hash": "<string>",
            "name": "<string>"
          }
        ],
        "is_contract": true,
        "is_scam": true,
        "is_verified": true,
        "metadata": {
          "tags": [
            {
              "meta": {},
              "name": "<string>",
              "ordinal": 123,
              "slug": "<string>",
              "tagType": "<string>"
            }
          ]
        },
        "name": "<string>",
        "private_tags": [
          {
            "address_hash": "<string>",
            "display_name": "<string>",
            "label": "<string>"
          }
        ],
        "public_tags": [
          {
            "address_hash": "<string>",
            "display_name": "<string>",
            "label": "<string>"
          }
        ],
        "watchlist_names": [
          {
            "display_name": "<string>",
            "label": "<string>"
          }
        ]
      },
      "error": "<string>",
      "from": {
        "ens_domain_name": "<string>",
        "hash": "<string>",
        "implementations": [
          {
            "address_hash": "<string>",
            "name": "<string>"
          }
        ],
        "is_contract": true,
        "is_scam": true,
        "is_verified": true,
        "metadata": {
          "tags": [
            {
              "meta": {},
              "name": "<string>",
              "ordinal": 123,
              "slug": "<string>",
              "tagType": "<string>"
            }
          ]
        },
        "name": "<string>",
        "private_tags": [
          {
            "address_hash": "<string>",
            "display_name": "<string>",
            "label": "<string>"
          }
        ],
        "public_tags": [
          {
            "address_hash": "<string>",
            "display_name": "<string>",
            "label": "<string>"
          }
        ],
        "watchlist_names": [
          {
            "display_name": "<string>",
            "label": "<string>"
          }
        ]
      },
      "gas_limit": "<string>",
      "index": 123,
      "success": true,
      "timestamp": "2023-11-07T05:31:56Z",
      "to": {
        "ens_domain_name": "<string>",
        "hash": "<string>",
        "implementations": [
          {
            "address_hash": "<string>",
            "name": "<string>"
          }
        ],
        "is_contract": true,
        "is_scam": true,
        "is_verified": true,
        "metadata": {
          "tags": [
            {
              "meta": {},
              "name": "<string>",
              "ordinal": 123,
              "slug": "<string>",
              "tagType": "<string>"
            }
          ]
        },
        "name": "<string>",
        "private_tags": [
          {
            "address_hash": "<string>",
            "display_name": "<string>",
            "label": "<string>"
          }
        ],
        "public_tags": [
          {
            "address_hash": "<string>",
            "display_name": "<string>",
            "label": "<string>"
          }
        ],
        "watchlist_names": [
          {
            "display_name": "<string>",
            "label": "<string>"
          }
        ]
      },
      "transaction_hash": "<string>",
      "transaction_index": 123,
      "type": "<string>",
      "value": "<string>"
    }
  ],
  "meta": {
    "message": "<string>"
  },
  "next_page_params": {
    "index": 8,
    "transaction_index": 3
  }
}

Authorizations

Authorization
string
header
required

API key passed as a Bearer token in the Authorization header.

Path Parameters

block_hash_or_number_param
required

Block hash or number in the path

Required range: x >= 0
chain_id
string
required

The ID of the blockchain

Query Parameters

internal_type
enum<string>

Filter internal transactions by type:

  • all - Show all internal transactions (default)
  • call - Only show call internal transactions
  • create - Only show create internal transactions
  • create2 - Only show create2 internal transactions
  • reward - Only show reward internal transactions
  • selfdestruct - Only show selfdestruct internal transactions
  • stop - Only show stop internal transactions
  • invalid - Only show invalid internal transactions (Arbitrum only)
Available options:
call,
create,
create2,
reward,
selfdestruct,
stop,
invalid
call_type
enum<string>

Filter internal transactions by call type:

  • all - Show all internal transactions (default)
  • call - Only show call internal transactions
  • callcode - Only show callcode internal transactions
  • delegatecall - Only show delegatecall internal transactions
  • staticcall - Only show staticcall internal transactions
  • invalid - Only show invalid internal transactions (Arbitrum only)
Available options:
call,
callcode,
delegatecall,
staticcall,
invalid
items_count
integer

Number of items per page

Required range: x >= 1
transaction_index
integer

Transaction index for paging

index
integer

Item index for paging

Response

Internal transactions in the specified block.

items
InternalTransaction · object[]
required
meta
object
required
next_page_params
object
required
Example:
{ "index": 8, "transaction_index": 3 }