Guide
Query wallet balances, NFTs and internal ETH transfers on Robinhood Chain
The Blockhash Data API answers wallet balances, NFTs and internal ETH transfers on Robinhood Chain, each in one GET request, with no logs to walk and no transactions to trace.
Why is polling logs and tracing transactions slow and costly at scale?
From the node alone, an address’s token balances are a balanceOf call for each token it may hold.
Knowing which tokens means reading every Transfer log that names it, with two filters: one for it as sender and one for it as receiver.
One eth_getLogs call reads up to 10,000 blocks, and costs 60 units.
Robinhood Chain was at block 123,475,453 when this guide was written, so one address’s history from the first block is 24,696 such calls for the two filters: 1,481,760 units.
The Data API’s transfers request reads that history a page at a time, at 120 units a page of up to 1,000 transfers.
ETH moved inside a contract writes no log, so finding it from the node means tracing every transaction.
Blockhash’s RPC does not serve debug_ and trace_ methods today.
The Data API answers internal ETH transfers by address, from the index’s own traces.
How do I read token metadata and balances?
/tokens/<token> answers a token’s name, symbol and decimals: the contract’s own claim, so tell tokens apart by address.
/addresses/<address>/balances answers its ERC-20 balances: up to 100 tokens you name, or every token it has held.
tokenBalance is the balance in the token’s smallest unit, as a 32-byte hex word.
A balance is the sum of the token’s transfers to and from the address, so a rebasing token can differ from its balanceOf.
The samples read USDG, and the WETH/USDG pool’s balances of WETH and USDG.
BLOCKHASH_KEY="<your key>"
DATA="https://api.blockhash.xyz/data/v1/$BLOCKHASH_KEY/robinhood-mainnet"
curl "$DATA/tokens/0x5fc5360d0400a0fd4f2af552add042d716f1d168"
{"decimals":6,"logo":null,"name":"Global Dollar","symbol":"USDG"}BLOCKHASH_KEY="<your key>"
DATA="https://api.blockhash.xyz/data/v1/$BLOCKHASH_KEY/robinhood-mainnet"
curl "$DATA/addresses/0x52e65b17fb6e5ba00ed806f37afcd2daa50271ca/balances?tokens=0x0bd7d308f8e1639fab988df18a8011f41eacad73,0x5fc5360d0400a0fd4f2af552add042d716f1d168"
{"address":"0x52e65b17fb6e5ba00ed806f37afcd2daa50271ca",
"tokenBalances":[
{"contractAddress":"0x0bd7d308f8e1639fab988df18a8011f41eacad73",
"tokenBalance":"0x000000000000000000000000000000000000000000000101a93a2c677c5ac825"},
{"contractAddress":"0x5fc5360d0400a0fd4f2af552add042d716f1d168",
"tokenBalance":"0x0000000000000000000000000000000000000000000000000000018f1cbc2e39"}],
"block":123475472}How do I read balances at a past block?
Add block: the balances are read as they stood at the end of that block.
One request answers every token named at that block, and its cost is the same as now.
The answer’s block is the block it is as of.
A block the index has not reached yet is answered 503 not-indexed, with Retry-After.
BLOCKHASH_KEY="<your key>"
DATA="https://api.blockhash.xyz/data/v1/$BLOCKHASH_KEY/robinhood-mainnet"
curl "$DATA/addresses/0x52e65b17fb6e5ba00ed806f37afcd2daa50271ca/balances?tokens=0x0bd7d308f8e1639fab988df18a8011f41eacad73,0x5fc5360d0400a0fd4f2af552add042d716f1d168&block=120000000"
{"address":"0x52e65b17fb6e5ba00ed806f37afcd2daa50271ca",
"tokenBalances":[
{"contractAddress":"0x0bd7d308f8e1639fab988df18a8011f41eacad73",
"tokenBalance":"0x00000000000000000000000000000000000000000000010e300159e9078f1ed2"},
{"contractAddress":"0x5fc5360d0400a0fd4f2af552add042d716f1d168",
"tokenBalance":"0x0000000000000000000000000000000000000000000000000000013930a5c001"}],
"block":120000000}How do I check whether an address holds an NFT?
/addresses/<address>/holds/<collection> answers true where the address holds at least one NFT of the collection, and false otherwise.
It costs 80 units: a gate for a holders’ page or a drop, without listing what is held.
The sample asks whether an NFT market’s contract holds one of Chain Mancers, Mancer’s own collection.
/addresses/<address>/nfts lists what an address holds, ERC-721 and ERC-1155, and /collections/<collection>/owners who holds a collection.
BLOCKHASH_KEY="<your key>"
DATA="https://api.blockhash.xyz/data/v1/$BLOCKHASH_KEY/robinhood-mainnet"
HOLDER="0x2554cad3d851381ec1a16b7bf7b4737ed46b40fe"
COLLECTION="0x797a2e030b7e49107c8f07bf0300ea9cae88ca57"
curl "$DATA/addresses/$HOLDER/holds/$COLLECTION"
{"holds":true,"block":123475501}How do I page through a collection?
A list answers a page and a cursor.
Send the same request again with cursor to read the next page.
cursor is null on the last page.
A page of a collection’s NFTs holds up to 100, and a page of its owners up to 1,000.
name, image and rank are null until the index has read an NFT’s metadata.
A list reads none itself: it queues them.
BLOCKHASH_KEY="<your key>"
DATA="https://api.blockhash.xyz/data/v1/$BLOCKHASH_KEY/robinhood-mainnet"
COLLECTION="0x797a2e030b7e49107c8f07bf0300ea9cae88ca57"
curl "$DATA/collections/$COLLECTION/nfts?limit=2"
{"nfts":[
{"tokenId":"1","supply":"1","name":"Chain Mancer #1","image":"data:image/svg+xml;base64,…","rank":null},
{"tokenId":"2","supply":"1","name":"Chain Mancer #2","image":"data:image/svg+xml;base64,…","rank":null}],
"cursor":"ewCn_5zzJo5bMSwiNmpISXI1X1J0a2lfSDh5ZSIsIjIiXQ",
"block":123475501}BLOCKHASH_KEY="<your key>"
DATA="https://api.blockhash.xyz/data/v1/$BLOCKHASH_KEY/robinhood-mainnet"
COLLECTION="0x797a2e030b7e49107c8f07bf0300ea9cae88ca57"
CURSOR="<the cursor of the last answer>"
curl -G "$DATA/collections/$COLLECTION/nfts" \
-d limit=2 \
-d "cursor=$CURSOR"
{"nfts":[
{"tokenId":"3","supply":"1","name":"Chain Mancer #3","image":"data:image/svg+xml;base64,…","rank":null},
{"tokenId":"4","supply":"1","name":"Chain Mancer #4","image":"data:image/svg+xml;base64,…","rank":null}],
"cursor":"Jxch1pZQzbtbMSwiNmpISXI1X1J0a2lfSDh5ZSIsIjQiXQ",
"block":123475516}How do I get internal ETH transfers?
/addresses/<address>/transfers with category=internal answers the ETH that contracts moved inside their calls, to or from the address.
internal is asked for by name: a request with no category leaves it out.
uniqueId ends in :internal: and a number: the transfer’s place in its transaction.
notTraced names each span of blocks the index did not trace, by its first and last block.
The index began to trace at block 111,562,043.
The sample reads ETH that other contracts sent into WETH, newest first.
This is the Data API’s answer where code would trace with debug_traceTransaction, which is not served today.
BLOCKHASH_KEY="<your key>"
DATA="https://api.blockhash.xyz/data/v1/$BLOCKHASH_KEY/robinhood-mainnet"
curl -G "$DATA/addresses/0x0bd7d308f8e1639fab988df18a8011f41eacad73/transfers" \
-d direction=to \
-d category=internal \
-d order=desc \
-d limit=2 \
-d withMetadata=true
{"transfers":[
{"blockNum":"0x75c163a","uniqueId":"0x3532…f8e0:internal:1",
"from":"0x8876789976decbfcbbbe364623c63652db8c0904",
"to":"0x0bd7d308f8e1639fab988df18a8011f41eacad73",
"value":0.43,"asset":"ETH","category":"internal",
"metadata":{"blockTimestamp":"2026-11-26T05:38:33.000Z"},…},
{"blockNum":"0x75c163a","uniqueId":"0xa8bc…e61f:internal:1",
"from":"0x8876789976decbfcbbbe364623c63652db8c0904",
"to":"0x0bd7d308f8e1639fab988df18a8011f41eacad73",
"value":0.000002,"asset":"ETH","category":"internal",
"metadata":{"blockTimestamp":"2026-11-26T05:38:33.000Z"},…}],
"cursor":"…",
"notTraced":[[0,111562042]],
"block":123475517}Drop-in compatibility with alchemy_* calls
As an Alchemy alternative on Robinhood Chain, Blockhash’s RPC answers Alchemy’s four index calls by their alchemy_ names.
Code that calls them keeps working with the URL changed, and nothing else.
Each is counted as the blockhash_ call of the same name, at the same units, and shows under that name in your usage.
Under Alchemy’s names an answer holds Alchemy’s fields alone: blockNumber and notTraced, which are Blockhash’s own, are left out.
New code calls the blockhash_ names, which answer those two fields too, or the Data API’s requests above. The RPC page names them.
Each call in the sample ran through Blockhash’s RPC on November 26, 2026.
The only change
Alchemy: https://robinhood-mainnet.g.alchemy.com/v2/<key> Blockhash: https://robinhood-mainnet.rpc.blockhash.xyz/v1/<key>
The URL changes. The calls stay as they are.
| Alchemy’s name | Counted as | Costs |
|---|---|---|
alchemy_ | blockhash_ | 10 units |
alchemy_ | blockhash_ | 20 units |
alchemy_ | blockhash_ | 120 units |
alchemy_ | blockhash_ | 20 units |
RPC=https://robinhood-mainnet.rpc.blockhash.xyz/v1
BLOCKHASH_KEY="<your key>"
curl $RPC/$BLOCKHASH_KEY \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"alchemy_getTokenBalances","params":["0x52e65b17fb6e5ba00ed806f37afcd2daa50271ca",
["0x0bd7d308f8e1639fab988df18a8011f41eacad73","0x5fc5360d0400a0fd4f2af552add042d716f1d168"]]}'
{"jsonrpc":"2.0","id":1,"result":{
"address":"0x52e65b17fb6e5ba00ed806f37afcd2daa50271ca",
"tokenBalances":[
{"contractAddress":"0x0bd7d308f8e1639fab988df18a8011f41eacad73",
"tokenBalance":"0x000000000000000000000000000000000000000000000101a75b023a212ee119"},
{"contractAddress":"0x5fc5360d0400a0fd4f2af552add042d716f1d168",
"tokenBalance":"0x0000000000000000000000000000000000000000000000000000018f2a6db8bf"}]}}RPC=https://robinhood-mainnet.rpc.blockhash.xyz/v1
BLOCKHASH_KEY="<your key>"
curl $RPC/$BLOCKHASH_KEY \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"alchemy_getAssetTransfers","params":[{"toAddress":"0x0bd7d308f8e1639fab988df18a8011f41eacad73",
"category":["internal"],"order":"desc","maxCount":"0x2","withMetadata":true}]}'
{"jsonrpc":"2.0","id":1,"result":{
"transfers":[
{"blockNum":"0x75c166b","uniqueId":"0x8b33…ea5f:internal:1",
"from":"0x8876789976decbfcbbbe364623c63652db8c0904",
"to":"0x0bd7d308f8e1639fab988df18a8011f41eacad73",
"value":0.004,"asset":"ETH","category":"internal",…},
{"blockNum":"0x75c166a","uniqueId":"0x3c48…8f8f:internal:3",
"from":"0x8876789976decbfcbbbe364623c63652db8c0904",
"to":"0x0bd7d308f8e1639fab988df18a8011f41eacad73",
"value":0.002475,"asset":"ETH","category":"internal",…}],
"pageKey":"…"}}RPC=https://robinhood-mainnet.rpc.blockhash.xyz/v1
BLOCKHASH_KEY="<your key>"
curl $RPC/$BLOCKHASH_KEY \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"alchemy_getTokenMetadata","params":["0x5fc5360d0400a0fd4f2af552add042d716f1d168"]}'
{"jsonrpc":"2.0","id":1,"result":{"decimals":6,"logo":null,"name":"Global Dollar","symbol":"USDG"}}RPC=https://robinhood-mainnet.rpc.blockhash.xyz/v1
BLOCKHASH_KEY="<your key>"
curl $RPC/$BLOCKHASH_KEY \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"alchemy_getTransactionReceipts","params":[{"blockNumber":"0x75c15f3"}]}'
{"jsonrpc":"2.0","id":1,"result":{"receipts":[
{"blockHash":…, "blockNumber":…, "contractAddress":…, "cumulativeGasUsed":…,
"effectiveGasPrice":…, "from":…, "gasUsed":…, "gasUsedForL1":…,
"l1BlockNumber":…, "logs":…, "logsBloom":…, "status":…,
"to":…, "transactionHash":…, "transactionIndex":…, "type":…},
…]}}
# the block's 5 receipts, each as eth_getTransactionReceipt answers itWhat does each request cost?
Each page of a paged request is a request of its own.
The Data API page gives every request, its query and its answer.
| Request | Costs |
|---|---|
| / | 10 units |
| / | 20 units |
| / | 80 units |
| / | 600 units |
| / | 480 units |
| / | 120 units |
| Page | What it documents |
|---|---|
| Data API | Balances, NFTs and transfers for any address, and tokens, collections and blocks. |
| RPC | JSON-RPC 2. |
| Compute units | What each call costs, what is charged, and what a call takes from a plan’s speed. |