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.

GET/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"
Parameters
ParameterDescription
chain

path · 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.

Response fields of Newest internal calls on a chain
FieldTypeDescription
internalTransactionsobject[]Newest first by (block, transaction index, index).
internalTransactions[].transactionHashstringThe transaction that made the call, lowercase.
internalTransactions[].blockNumberintegerThe block the transaction was mined in.
internalTransactions[].transactionIndexintegerThe transaction's position in its block, from 0.
internalTransactions[].indexintegerThe call's position among its transaction's internal calls, from 1 in execution order.
internalTransactions[].typestringThe EVM call kind. delegatecall, staticcall and callcode are reported as types of their own, not as a plain call.
internalTransactions[].fromstringThe contract that made the call, lowercase.
internalTransactions[].tostring | nullThe callee, lowercase. null on a create or create2, whose address is createdContract.
internalTransactions[].createdContractstring | nullThe contract a create or create2 made, lowercase. null on every other type.
internalTransactions[].valueWeistringNative coin sent with the call, in wei, as a decimal string. "0" is a real zero.
internalTransactions[].gasLimitstringGas the call was given, as a decimal string.
internalTransactions[].successbooleanfalse when the call reverted: its value did not move and its effects were undone.
internalTransactions[].errorstring | nullWhy the call reverted, when that is known (e.g. "execution reverted", "Parent reverted").
internalTransactions[].timestampintegerUnix 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