RPC, Data API, Swap API and VRF For Robinhood Chain.
One key, one set of limits and one bill.
VRF needs no account: it is paid on chain.
Blocks
123M
Transactions
1.1B
Swaps
620M
Tokens
2.5M
Latest blocks
123,858,713
2,896 transactions in the last minute
Transactions a block
- 0x2e08…4fe3 0.967402 Block 123,858,713
- WETH 0.029 Block 123,858,712
- WETH 0.049 Block 123,858,712
- WETH 0.047 Block 123,858,711
- WETH 0.024 Block 123,858,711
- WETH 0.000427105 Block 123,858,711
Robinhood Chain RPC
JSON-RPC over HTTPS, with your key as the last part of the URL.
Coming from Alchemy
Alchemy's endpoint: robinhood-mainnet.g.alchemy.com/v2/<key> Blockhash's endpoint: robinhood-mainnet.rpc.blockhash.xyz/v1/<key>
Change the URL and the key. The calls stay the same.
- Endpoint
- Chain ID
- 4663
- Namespaces
- eth, net, web3, arb
- WebSocket
- newHeads and logs
- Free plan
- 300 units a second
- Batch
- 100 calls
- Log range
- 10,000 blocks per call
- Time limit
- 10 seconds per call
- Archive
- State at any block
RPC=https://robinhood-mainnet.rpc.blockhash.xyz/v1
KEY="<your key>"
curl $RPC/$KEY \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,
"method":"eth_blockNumber","params":[]}'
{"jsonrpc":"2.0","id":1,"result":"0x761ef19"}
curl $RPC/$KEY \
-H 'content-type: application/json' \
-d '[{"jsonrpc":"2.0","id":1,
"method":"eth_chainId","params":[]},
{"jsonrpc":"2.0","id":2,
"method":"eth_gasPrice","params":[]}]'
[{"jsonrpc":"2.0","id":1,"result":"0x1237"},
{"jsonrpc":"2.0","id":2,"result":"0x1317350"}]import { createPublicClient, http } from 'viem'
import { robinhood } from 'viem/chains'
const RPC =
'https://robinhood-mainnet.rpc.blockhash.xyz/v1'
const client = createPublicClient({
chain: robinhood,
transport: http(`${RPC}/${process.env.KEY}`),
})
await client.getBlockNumber()
// 123858713n
await client.getGasPrice()
// 20018000nimport { JsonRpcProvider } from 'ethers'
const RPC =
'https://robinhood-mainnet.rpc.blockhash.xyz/v1'
const provider = new JsonRpcProvider(
`${RPC}/${process.env.KEY}`,
4663,
)
await provider.getBlockNumber()
// 123858713
const fees = await provider.getFeeData()
// fees.gasPrice: 20018000nRobinhood Chain Data API
Balances, NFTs and transfers for any address.
Tokens, collections and blocks.
- Endpoint
- Network
- robinhood-mainnet
- Format
- HTTPS GET, JSON
- Requests
- 12
- Transfers
- From the first block
- Tokens
- ERC-20, ETH
- NFTs
- ERC-721, ERC-1155
- Balances
- Now, or at any block
- Costs
- 10 to 600 units a request
KEY="<your key>"
DATA="https://api.blockhash.xyz/data/v1/$KEY/robinhood-mainnet"
WALLET="<an address>"
curl "$DATA/addresses/$WALLET/balances"
{"address":"0x…",
"tokenBalances":[
{"contractAddress":"0x0bd7d308f8e1639fab988df18a8011f41eacad73","tokenBalance":"0x…"},
{"contractAddress":"0x5fc5360d0400a0fd4f2af552add042d716f1d168","tokenBalance":"0x…"},
…]}
curl "$DATA/addresses/$WALLET/nfts"
{"nfts":[
{"collection":"0x…","tokenId":"…",
"standard":"erc721","balance":"1"},
…],
"cursor":"…"}
curl "$DATA/addresses/$WALLET/transfers?direction=to&limit=5"
{"transfers":[
{"blockNum":"0x…",
"uniqueId":"0x…:log:…",
"hash":"0x…",
"from":"0x…",
"to":"0x…",
"value":…,
"erc721TokenId":null,"erc1155Metadata":[],"tokenId":null,
"asset":"WETH","category":"erc20",
"rawContract":{"value":"0x…","address":"0x0bd7d308f8e1639fab988df18a8011f41eacad73","decimal":"0x12"}},
…],
"cursor":"…"}const DATA =
`https://api.blockhash.xyz/data/v1/${process.env.KEY}/robinhood-mainnet`
const get = (path) =>
fetch(`${DATA}/${path}`).then((answer) => answer.json())
const wallet = '<an address>'
const { tokenBalances } = await get(`addresses/${wallet}/balances`)
// tokenBalances[0]:
// { contractAddress: '0x…', tokenBalance: '0x…' }
const { nfts } = await get(`addresses/${wallet}/nfts`)
// nfts[0]:
// { collection: '0x…', tokenId: '…', standard: 'erc721', balance: '1' }
const { transfers, cursor } = await get(
`addresses/${wallet}/transfers?direction=to&limit=5`,
)
// transfers[0]:
// { blockNum: '0x…', hash: '0x…', from: '0x…',
// to: '0x…', value: …, asset: 'WETH', … }Tokens
NFTs
/addresses/<address>/nftsThe NFTs an address holds, with their names, images and ranks 480 units/addresses/<address>/collectionsThe collections an address holds NFTs of 320 units/addresses/<address>/holds/<collection>Whether an address holds an NFT of a collection 80 units/collections/<collection>A collection’s name, standard, supply and holders 160 units/collections/<collection>/nftsEvery NFT of a collection, with its name, image and rank 600 units/collections/<collection>/ownersThe addresses that hold a collection 480 units/nfts/<collection>/<tokenId>One NFT: its collection, standard, supply, metadata and rarity 80 units/nfts/<collection>/<tokenId>/ownersThe addresses that hold one NFT 80 units
Node calls
eth_Read a contract 26 unitscall eth_Read logs across up to 10,000 blocks 60 unitsgetLogs eth_Get a block 20 unitsgetBlockByNumber eth_Get a block's receipts 20 unitsgetBlockReceipts eth_Get a transaction's receipt 20 unitsgetTransactionReceipt eth_Get an address's ETH 20 unitsgetBalance eth_Send a signed transaction 40 unitssendRawTransaction eth_Get the latest block's number 10 unitsblockNumber
And the rest of eth, net, web3 and arb. Subscriptions are answered over WebSocket.
Which transfers touched this address?
A node Read every block’s logs and filter them yourself.
The Data API transfers, a page at a time.
What did this address hold at block 90,000,000?
A node Ask each token’s contract at that block, one call a token.
The Data API balances at that block.
Does it agree with the chain?
transfers
280 of 280
balances
50 of 50
Checked against the chain’s own logs and balances on November 17, 2026.
Robinhood Chain Swap API
The best route and a transaction ready to sign, for any two tokens on Robinhood Chain.
Powered by Mancer, and every answer says so.
- Endpoint
- Network
- robinhood-mainnet
- Format
- HTTPS GET, JSON
- Answers
- A price, or the transactions to sign
- Your fee
- Up to 1% a swap
- Key, limits, bill
- The same as the RPC’s
- A quote
- 800 units
KEY="<your key>"
SWAP="https://api.blockhash.xyz/swap/v1/$KEY/robinhood-mainnet"
curl -G "$SWAP/quote" \
-d tokenIn=0x0bd7d308f8e1639fab988df18a8011f41eacad73 \
-d tokenOut=0x5fc5360d0400a0fd4f2af552add042d716f1d168 \
-d amountIn=100000000000000000
{"network":"robinhood-mainnet","chainId":4663,
"tokenIn":"0x0bd7d308f8e1639fab988df18a8011f41eacad73",
"tokenOut":"0x5fc5360d0400a0fd4f2af552add042d716f1d168",
"amountIn":"100000000000000000",
"routeFound":true,
"amountOut":"180721381",
"amountInUsd":180.56099028739087,"amountOutUsd":180.7213814934,
"priceImpactBps":0,"recommendedSlippageBps":20,
"fees":{"mancer":{"bps":2,"token":"0x0bd7d308f8e1639fab988df18a8011f41eacad73","side":"input"},
"integrator":null},
…,
"poweredBy":"Mancer"}const SWAP =
`https://api.blockhash.xyz/swap/v1/${process.env.KEY}/robinhood-mainnet`
const quote = await fetch(`${SWAP}/quote?` + new URLSearchParams({
tokenIn: '0x0bd7d308f8e1639fab988df18a8011f41eacad73',
tokenOut: '0x5fc5360d0400a0fd4f2af552add042d716f1d168',
amountIn: '100000000000000000',
taker: '<a wallet>',
})).then((answer) => answer.json())
// quote.amountOut: what the wallet receives
// quote.transactions: an approval, then the swap, signed in order
// quote.poweredBy: 'Mancer'Robinhood Chain VRF
Random numbers for your contracts, each with a proof.
The coordinator checks the proof on chain before your contract gets the numbers.
A Chainlink VRF v2.5 subscription consumer works with the coordinator’s address and key hash changed.
- Coordinator
- Key hash
- Network
- Robinhood Chain
- Paid in
- Ether
- Fee
- Gas and L1 fee, plus 60% of both
- At 200,000 gas
- 0.0000064 ether before the L1 fee
// Closes the open round and asks for its draw; entries from here on go to the next round.
function draw() external returns (uint256 requestId) {
require(s_entrants[round].length > 0, "no entrants");
requestId = s_vrfCoordinator.requestRandomWords(
VRFV2PlusClient.RandomWordsRequest({
keyHash: keyHash,
subId: subscriptionId,
requestConfirmations: 1,
callbackGasLimit: 100_000,
numWords: 1,
extraArgs: VRFV2PlusClient._argsToBytes(VRFV2PlusClient.ExtraArgsV1({nativePayment: true}))
})
);
drawOf[round] = requestId;
roundOf[requestId] = round;
round++;
}
// Never revert here: a callback that reverts leaves its number kept on the coordinator, to be delivered again.
function fulfillRandomWords(uint256 requestId, uint256[] calldata randomWords) internal override {
uint256 r = roundOf[requestId];
if (voided[r] || winner[r] != address(0)) return;
address[] storage entrants = s_entrants[r];
winner[r] = entrants[randomWords[0] % entrants.length];
emit Drawn(r, winner[r]);
}
import { createPublicClient, createWalletClient, getAddress, http, isHex, parseAbi, parseEther, parseEventLogs } from 'viem'
import { privateKeyToAccount } from 'viem/accounts'
import { robinhood } from 'viem/chains'
// Robinhood Chain, through Blockhash's endpoint. On the testnet: robinhoodTestnet, and https://rpc.testnet.chain.robinhood.com
const RPC = `https://robinhood-mainnet.rpc.blockhash.xyz/v1/${process.env.KEY}`
const COORDINATOR = '0x000094b5303272ea593137ca65b4B15200bFb10C'
const abi = parseAbi([
'function createSubscription() returns (uint256)',
'function addConsumer(uint256 subId, address consumer)',
'function fundSubscriptionWithNative(uint256 subId) payable',
'function getSubscription(uint256 subId) view returns (uint96 balance, uint96 nativeBalance, uint64 reqCount, address owner, address[] consumers)',
'function s_provingKeyHashes(uint256) view returns (bytes32)',
'function getKeptRandomWords(uint256 requestId) view returns (uint256[])',
'event SubscriptionCreated(uint256 indexed subId, address owner)',
])
const chain = createPublicClient({ chain: robinhood, transport: http(RPC) })
// your key and your consumer, from the environment: each checked to be one
const key = process.env.PRIVATE_KEY
if (!isHex(key)) throw new Error('PRIVATE_KEY is a 0x key')
const consumer = getAddress(process.env.CONSUMER ?? '')
const wallet = createWalletClient({ account: privateKeyToAccount(key), chain: robinhood, transport: http(RPC) })
// the key hash a request names: the coordinator’s registered key
const keyHash = await chain.readContract({ address: COORDINATOR, abi, functionName: 's_provingKeyHashes', args: [0n] })
// a subscription, its id read from the event that made it
const made = await wallet.writeContract({ address: COORDINATOR, abi, functionName: 'createSubscription' })
const receipt = await chain.waitForTransactionReceipt({ hash: made })
const [created] = parseEventLogs({ abi, logs: receipt.logs, eventName: 'SubscriptionCreated' })
const subId = created.args.subId
// your consumer added, and the subscription funded with ether: each waited for
const added = await wallet.writeContract({ address: COORDINATOR, abi, functionName: 'addConsumer', args: [subId, consumer] })
await chain.waitForTransactionReceipt({ hash: added })
const funded = await wallet.writeContract({ address: COORDINATOR, abi, functionName: 'fundSubscriptionWithNative', args: [subId], value: parseEther('0.002') })
await chain.waitForTransactionReceipt({ hash: funded })
// its balance, owner, consumers and requests fulfilled
const [, balance, fulfilled, owner, consumers] = await chain.readContract({ address: COORDINATOR, abi, functionName: 'getSubscription', args: [subId] })Do I need an account?
Blockhash No. Open a subscription on chain and fund it with ether.
What if my callback reverts?
Chainlink The number is never delivered.
Blockhash It is kept on chain, and your contract can take it again with deliverKeptRandomWords.
Is every request answered?
on the testnet
246 of 246
at the median
2 s
Every request since November 20, read from the index on November 22, 2026.
The dashboard
Join the waitlist with GitHub, Google or an email address.
Make up to three apps on the Free plan once your account is approved.
See your use by day and by method, in calls and units.
Follow your VRF subscriptions, with an email when one runs low.
Sample
This month
8,744,980 of 30,000,000 units
Units a day 15,962,614 in 30 days
| Day | Units |
|---|---|
| October 18 | 311,936 |
| October 19 | 570,540 |
| October 20 | 581,236 |
| October 21 | 591,932 |
| October 22 | 602,630 |
| October 23 | 565,826 |
| October 24 | 321,250 |
| October 25 | 330,718 |
| October 26 | 597,914 |
| October 27 | 608,610 |
| October 28 | 619,306 |
| October 29 | 582,504 |
| October 30 | 593,200 |
| October 31 | 340,032 |
| November 1 | 349,502 |
| November 2 | 625,288 |
| November 3 | 635,984 |
| November 4 | 599,180 |
| November 5 | 609,878 |
| November 6 | 620,574 |
| November 7 | 358,816 |
| November 8 | 368,284 |
| November 9 | 652,662 |
| November 10 | 615,858 |
| November 11 | 626,554 |
| November 12 | 637,250 |
| November 13 | 647,948 |
| November 14 | 377,598 |
| November 15 | 387,068 |
| November 16 | 632,536 |
| Method | Calls | Units |
|---|---|---|
| eth_call | 251,719 | 6,544,694 |
| eth_getLogs | 53,206 | 3,192,360 |
| blockhash_getAssetTransfers | 15,962 | 1,915,440 |
| eth_blockNumber | 175,614 | 1,756,140 |
Pricing
$0.20 a million compute units.
Every call has a fixed cost in units.
The Free plan is 30 million units a month.
Pay as you go has no monthly fee.
Alchemy's and Ankr's prices are from their own pricing pages and docs, November 17, 2026.
eth_calleth_getLogsgetAssetTransfersgetTokenBalancesgetNFTsForOwnerquote
Start reading Robinhood Chain
- Join the waitlist with GitHub, Google or an email address.
- Create an app in the dashboard once your account is approved.
- Call the chain with its key at the end of the endpoint.