Transactions API
Newest internal calls on a chain
The newest contract-to-contract calls on a whole chain, most recent first — no wallet, token or transaction in the question. RHC, ETH, OP and SCROLL.
/api/external/transaction-analysis/recent-internal-transactions/{chain}What it returns
The newest calls contracts made on one chain — call, delegatecall, staticcall, callcode, create, create2 and selfdestruct — with no wallet, token or transaction in the question. Most recent first: by block, then transaction index, then the call's index, all descending. A single page of the newest 50, no pagination: to walk further back, read block-internal-transactions block by block. Reverted calls are listed, with success false. RHC, ETH, OP and SCROLL.
Chains
- Ethereum ETH
- Robinhood Chain RHC
- Optimism OP
- Scroll SCROLL
Request
Send your key in the x-dex-data-key header. Replace each <placeholder> with a real value.
curl -H "x-dex-data-key: $DEXDATA_API_KEY" \ "https://api.dexdata.io/api/external/transaction-analysis/recent-internal-transactions/ETH"
| Parameter | Description |
|---|---|
chainpath · string · required | RHC, ETH, OP or SCROLL; every other chain returns 400, because no wired source publishes a chain-wide feed of internal calls for it. |
Response fields
A JSON response. Every field is always present; null means the value could not be established, never zero.
| Field | Type | Description |
|---|---|---|
internalTransactions | object[] | Newest first by (block, transaction index, index). |
internalTransactions[].transactionHash | string | The transaction that made the call, lowercase. |
internalTransactions[].blockNumber | integer | The block the transaction was mined in. |
internalTransactions[].transactionIndex | integer | The transaction's position in its block, from 0. |
internalTransactions[].index | integer | The call's position among its transaction's internal calls, from 1 in execution order. |
internalTransactions[].type | string | The EVM call kind. delegatecall, staticcall and callcode are reported as types of their own, not as a plain call. |
internalTransactions[].from | string | The contract that made the call, lowercase. |
internalTransactions[].to | string | null | The callee, lowercase. null on a create or create2, whose address is createdContract. |
internalTransactions[].createdContract | string | null | The contract a create or create2 made, lowercase. null on every other type. |
internalTransactions[].valueWei | string | Native coin sent with the call, in wei, as a decimal string. "0" is a real zero. |
internalTransactions[].gasLimit | string | Gas the call was given, as a decimal string. |
internalTransactions[].success | boolean | false when the call reverted: its value did not move and its effects were undone. |
internalTransactions[].error | string | null | Why the call reverted, when that is known (e.g. "execution reverted", "Parent reverted"). |
internalTransactions[].timestamp | integer | Unix SECONDS of the block. |
Start building with DexData today
Sign in, create a key and make your first call in a minute. Free credits every month, and you only pay for calls that succeed.
Get a free API key