Skip to content
BlockhashBlockhashBlock 123,868,705 Sign in Join the waitlist Dashboard

Guide

Robinhood Chain RPC URL, chain ID 4663, and deploying with Foundry

Robinhood Chain’s chain ID is 4663. This guide gives its RPC URL and takes a Foundry project from forge init to a deployed, verified contract.

What is the Robinhood Chain RPC URL?

Robinhood Chain’s chain ID is 4663, and eth_chainId answers it in hex: 0x1237.

Robinhood runs a public RPC, which its docs call rate-limited and not for production.

Blockhash’s RPC takes your key as the URL’s last part, or as a Bearer token to /v1.

Its calls count against your plan, and archive state at any block is on the Free plan.

The Network page has the testnet’s figures and the fields a wallet asks for.

WhatValue
Chain ID4663 (0x1237)
Blockhash’s RPC
Blockhash’s WebSocket
Robinhood’s public RPC
Explorer
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":"eth_chainId","params":[]}'
{"jsonrpc":"2.0","id":1,"result":"0x1237"}

What does an RPC key cost?

Every approved account is on the Free plan: 30 million compute units a month, at 300 units a second.

Pay as you go costs $0.20 a million compute units, with no monthly fee.

A million contract reads, eth_call at 26 units each, cost $5.20 here and $13.52 at Alchemy’s price, as the price table sets them side by side, from its pricing page as read on November 17, 2026.

The Limits and pricing page has the speed and every bound, and Compute units what each call costs.

How do I move from another provider?

Change the URL: the host is Blockhash’s, and the path is /v1 with your key as its last part, or sent as a Bearer token.

Code that calls Alchemy’s four index calls keeps working: the data guide lists them.

Set up a Foundry project for Robinhood Chain

forge init makes a project with a Counter contract, its test, and a script that deploys it.

cast wallet import keeps your key encrypted in Foundry’s keystore, under a name: never in a file you commit.

foundry.toml names the RPC under rpc_endpoints, so every command takes --rpc-url robinhood and reads the URL with your key from the environment.

code_size_limit holds Foundry to the chain’s 96 KB, where its default is Ethereum’s 24 KB.

forge init counter && cd counter
cast wallet import deployer --interactive

Simulate, then deploy with forge script

Without --broadcast, forge script runs the deployment against the chain and prints the gas and the ETH it would take.

Nothing is sent, and the simulation needs no ETH in the account.

With --broadcast, it signs with the keystore’s key and sends the transaction.

Foundry prints the new contract’s address, and keeps the run under broadcast/ in the project.

The commands ran on November 26, 2026 with Foundry 1.8.4, the simulation against Robinhood Chain through Blockhash’s RPC.

The Deploy a contract page does the same deployment with viem.

# runs against the chain, and prints the gas and the ether it would take: nothing is sent
forge script script/Counter.s.sol --rpc-url robinhood --account deployer
Chain 4663
Estimated total gas used for script: …
Estimated amount required: … ETH
SIMULATION COMPLETE. To broadcast these transactions, add --broadcast and wallet configuration(s) to the previous command.

# signed and sent
forge script script/Counter.s.sol --rpc-url robinhood --account deployer --broadcast

Verify the contract on Blockscout

Robinhood Chain’s explorer is Blockscout, at robinhoodchain.blockscout.com.

Blockscout’s docs give an explorer’s own verifier as --verifier blockscout, with the explorer’s address and /api/ as --verifier-url, and no key.

forge verify-contract verifies a contract already deployed, and --verify on forge script verifies it as it is deployed.

Build with the settings you deployed with: another compiler or optimizer setting makes other bytecode, which the explorer cannot match.

forge verify-contract <the contract's address> src/Counter.sol:Counter \
  --rpc-url robinhood \
  --verifier blockscout \
  --verifier-url https://robinhoodchain.blockscout.com/api/

# or verified as it is deployed
forge script script/Counter.s.sol --rpc-url robinhood --account deployer --broadcast \
  --verify --verifier blockscout --verifier-url https://robinhoodchain.blockscout.com/api/

Is the L1 data fee in the gas estimate?

A transaction’s fee pays for its gas on Robinhood Chain and for posting its data to Ethereum.

An estimate counts both, so the gas eth_estimateGas gives, and Foundry’s estimate with it, is the whole fee’s.

ArbGasInfo’s getL1BaseFeeEstimate() gives the price of one unit of L1 gas, in wei.

On November 26, 2026 it answered 0.

NodeInterface’s gasEstimateL1Component gives the L1 part of an estimate alone.

A node answers it through eth_call: no contract is deployed at its address.

# the price of one unit of L1 gas, in wei
cast call 0x000000000000000000000000000000000000006C 'getL1BaseFeeEstimate()(uint256)' --rpc-url robinhood
0

# the L1 part of a deployment’s estimate, in gas: the first of the three
cast call 0x00000000000000000000000000000000000000C8 \
  'gasEstimateL1Component(address,bool,bytes)(uint64,uint256,uint256)' \
  0x0000000000000000000000000000000000000000 true $(forge inspect src/Counter.sol:Counter bytecode) --rpc-url robinhood

What differs from Ethereum when you deploy?

  • A contract’s code may be up to 96 KB, and its init code up to 192 KB.
  • block.number is Ethereum’s block number. ArbSys’s arbBlockNumber(), at 0x0000000000000000000000000000000000000064, is the chain’s own.
  • block.prevrandao is always 1: the randomness guide says why, and what to use instead.
  • Gas is paid in ETH.

The Deploy a contract page lists each.

Common errors when you deploy to Robinhood Chain

Each error is in the words the chain, Foundry or Blockhash’s RPC answers it with.

Every error the RPC answers with is on the Errors page.

ErrorWhenWhat to do
max code size exceededAn estimate or a send of a contract whose code is over 96 KB.Split the contract, or move code into libraries.
some contracts exceed the runtime size limit (EIP-170: 24576 bytes)forge build --sizes, of a contract over Ethereum’s 24 KB, without the chain’s limit set.Set code_size_limit = 98304 in foundry.toml.
insufficient funds for transferforge script --broadcast from an account that holds no ETH on Robinhood Chain: Foundry fails to estimate the gas.Send ETH to the account on Robinhood Chain first. The simulation, without --broadcast, needs none.
Invalid access keyA key that does not exist or was revoked, or a URL without its key.Check the URL’s last part, or the environment variable foundry.toml reads.
Request rate limit exceededCalls past your plan’s speed: a script or a test that forks the chain reads it fast.Wait the seconds in Retry-After, and ask again.
RPC=https://robinhood-mainnet.rpc.blockhash.xyz/v1
BLOCKHASH_KEY="<your key>"

# code that returns 98305 bytes, one more than the chain takes
curl $RPC/$BLOCKHASH_KEY \
  -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"eth_estimateGas","params":[{"data":"0x620180016000f3"}]}'
{"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"max code size exceeded"}}

Where should an RPC key live: a browser or a server?

A key in a web page is in every visitor’s copy of the page.

Give a page its own app, and list your websites, their origins, in its rules: a page on another website is refused, origin-not-allowed.

A website rule reads the Origin a browser sends, and a program outside a browser can send any, so a page’s key is never secret.

On a server, send the key as a Bearer token: it is no part of the URL, so a log of URLs never holds it.

List the server’s IP addresses in its app’s rules, so its key works from there alone.

An app that adds the network to its users’ wallets names Robinhood’s public RPC there, since a key in it would be every user’s.

import { createPublicClient, http } from 'viem'
import { robinhood } from 'viem/chains'

// a key in a page is visible to every visitor: give it an app of its own whose rules list your websites (origins)
const KEY = '<the key of an app that lists your websites>'
const client = createPublicClient({
  chain: robinhood,
  transport: http(`https://robinhood-mainnet.rpc.blockhash.xyz/v1/${KEY}`),
})
console.log(await client.getBlockNumber())
import { createWalletClient, custom } from 'viem'
import { robinhood } from 'viem/chains'

const wallet = createWalletClient({ transport: custom(window.ethereum) })
await wallet.addChain({ chain: robinhood })
PageWhat it documents
NetworkRobinhood Chain’s chain ID, its RPC, its explorer and its testnet, and the fields a wallet asks for.
Deploy a contractSimulate a contract’s deployment, then send it, with Foundry or viem, and what differs from Ethereum.
Limits and pricingWhat the Free plan gives, how fast and how large a request may be, and what a million compute units cost.
RPCJSON-RPC 2.0 over HTTPS, with your key as the last part of the URL.