Transactions API
Newest token transfers on a chain
The newest token transfers on a whole chain, every token and wallet, most recent first; optionally only ERC-20, ERC-721 or ERC-1155. RHC, ETH, OP and SCROLL.
/api/external/transaction-analysis/recent-token-transfers/{chain}What it returns
A recency-ordered page of the newest token transfers on one chain — every token and every wallet, no address in the question. RHC, ETH, OP and SCROLL; every other chain returns 400. Optionally narrowed to one token standard. One row per transfer event: a transaction that moves three tokens is three rows, told apart by logIndex. AMOUNTS ARE RAW BASE UNITS, as strings; divide by the token's decimals where it has one. There is no pagination in this first cut — a single page of the newest 50 only. On busy chains the whole page can fall in one block.
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-token-transfers/ETH"
| Parameter | Description |
|---|---|
standardquery · string · optional | Only transfers of one token standard: erc-20, erc-721 or erc-1155. Defaults to all, which also lists any other standard the chain carries.allerc-20erc-721erc-1155 |
chainpath · string · required | RHC, ETH, OP and SCROLL only; every other chain returns 400. |
Response fields
A JSON response. Every field is always present; null means the value could not be established, never zero.
| Field | Type | Description |
|---|---|---|
standard | string | The filter every row belongs to — always echoes the request (or its default). |
transfers | object[] | Newest first, in the order the source reports — never re-sorted here. Empty only when a filtered standard had no recent transfer. |
transfers[].txHash | string | The transaction that carried the transfer, lowercase. |
transfers[].logIndex | integer | The transfer event's position in its block; with txHash, a unique key. |
transfers[].blockNumber | integer | The block it was mined in. |
transfers[].at | integer | Unix SECONDS the block was mined at. |
transfers[].kind | string | null | mint, burn or transfer, as the chain index classifies the movement; null for any other kind. |
transfers[].from | string | null | The sending address, lowercase; the zero address on a mint. |
transfers[].to | string | null | The receiving address, lowercase; the zero address on a burn. |
transfers[].token | object | |
transfers[].token.address | string | The token contract, lowercase. |
transfers[].token.symbol | string | null | The token's symbol, or null when none is published. |
transfers[].token.name | string | null | The token's name, or null when none is published. |
transfers[].token.standard | string | null | ERC-20, ERC-721, ERC-1155 or another standard the chain carries. |
transfers[].token.decimals | integer | null | The token's decimals; null for an NFT, or when none is published. |
transfers[].amountRaw | string | null | Units moved, in RAW base units, as a decimal string. "1" on an ERC-721 transfer, which moves one item by definition. |
transfers[].tokenId | string | null | The item moved, as a decimal string, on an NFT transfer; null on a fungible token. |
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