POSTGet Internal Transactions By Transaction Hash

Data APIhttps://web3.nodit.io/v1/ethereum/mainnet/blockchain/getInternalTransactionsByTransactionHash

Retrieves the list of internal transactions that occurred in a specific transaction.

Path Parameters
chainstring (enum)required

Parameter to specify the target chain for the query.

networkstring (enum)required

Parameter to specify the network of the target chain. Supported networks may vary depending on the chain.

Request Body
transactionHashstringrequired

Parameter specifying the transaction hash to query. Can be entered as a 64-character hexadecimal string starting with 0x.

pageinteger

The page parameter specifies the data page to query. It accepts values up to 100; for pages exceeding 100, use the cursor pagination method.

The page and cursor parameters cannot be used together. If both page and cursor are empty, cursor pagination is used.

rppinteger

rpp stands for results per page and specifies the page size. You can specify a number greater than 0 and up to 100.

cursorstring

The cursor parameter supports pagination and data navigation between pages. Provide the cursor value from the previous page in the next request to load the next page of data.

The page and cursor parameters cannot be used together. If both page and cursor are empty, cursor pagination is used.

withCountboolean

Parameter specifying whether to include the count field in the response. The count field indicates the total number of requested data items. When set to true, the count field is included and response speed may be slower.

withZeroValueboolean

Parameter specifying whether to include results with value 0 in the response. Set to true for faster responses.

withExternalTransactionboolean

Parameter determining whether to include external transactions in the response. External transactions are returned in the same format as internal transactions with trace index 0. When set to true, external transactions are included and response speed may be slower.

Responses
pageinteger

Field representing the page number specified in the page parameter. This field is only included in the response when a value greater than 0 is specified for the page parameter.

rppinteger

Field representing the number of results per page specified in the rpp parameter.

cursorstring

A field for cursor pagination. This value must be provided in the next request to load the next page of data.

countinteger

Field representing the total count of requested data. This field is only included in the response when true is set for the withCount parameter.

traceIdstring

A field representing the trace ID of the transaction. Has a unique value based on the depth and call order of the transaction.

Naming convention: call_{blockNumber}_{transactionIndex}_{depth1's callOrder}_{depth2's callOrder}_{...}

traceIndexinteger

A field representing the trace index of the transaction. Returns 0 for external transactions.

transactionHashstring

A field representing the hash of the transaction. Provided as a 64-character hexadecimal string prefixed with 0x.

transactionIndexinteger

A field representing the index of the transaction. Indicates the order within the block. Provided in decimal string format.

fromstring

A field representing the address that initiated the transaction. Provided as a 40-character hexadecimal string prefixed with 0x.

tostring

A field representing the recipient address of the transaction. For contract creation transactions, this field returns the created contract address. Provided as a 40-character hexadecimal string prefixed with 0x.

valuestring

A field representing the amount transferred in the transaction. Provided in decimal string format.

traceTypestring

A field representing the trace type of the transaction. Includes call, create, etc.

callTypestring

A field representing the call type of the transaction. Includes call, delegatecall, staticcall, etc.

gasstring

A field representing the amount of gas allocated to the transaction. Provided in decimal string format.

gasUsedstring

A field representing the amount of gas actually used in transaction execution. Provided in decimal string format.

statusstring

A field representing the status of the transaction. 1 indicates success; 0 indicates failure. Provided in decimal string format.

blockNumberinteger

A field representing the block number that contains the transaction.

timestampinteger

트랜잭션이 생성된 시간을 나타내는 필드입니다. 이 필드는 UNIX 타임스탬프로 제공됩니다.

X-API-KEY
RequestCU150
cURL
curl -X POST "https://web3.nodit.io/v1/ethereum/mainnet/blockchain/getInternalTransactionsByTransactionHash" \
  -H "X-API-KEY: {YOUR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
  "page": 1,
  "rpp": 10,
  "transactionHash": "0xdcfd39025f4c17b2633b42a3592cda9e0b783ee01acad8ee1a3a5130991692ff",
  "withZeroValue": false,
  "withExternalTransaction": false
}'
Response
Example · 200
{
  "page": 0,
  "rpp": 0,
  "cursor": "string",
  "count": 0,
  "items": [
    {
      "traceId": "call_21466252_48_",
      "traceIndex": 0,
      "transactionHash": "0xd746bd1b26b7cc1ab78de4acc835589dc2ed1ca12fd90e742f423e7870ef6181",
      "transactionIndex": "48",
      "from": "0x9872F9cFD51dD9f5CF45a54F96a16eeE238A056a",
      "to": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
      "value": "0",
      "traceType": "call",
      "callType": "call",
      "gas": "69736",
      "gasUsed": "46109",
      "status": "1",
      "blockNumber": 21466252,
      "timestamp": 1734969803
    }
  ]
}