Quickstart
Robinhood Chain is fully EVM-compatible. Change the endpoint and keep your existing tooling.
Network details
| Property | Value |
|---|---|
| Name | Robinhood Chain |
| Chain ID | 4663 (0x1237) |
| RPC (public) | https://rpc.mainnet.chain.robinhood.com |
| Explorer | https://robinhoodchain.blockscout.com |
| Gas token | ETH |
| Stack | Arbitrum Orbit L2 |
First request
Call eth_chainId against the public RPC. A successful response returns 0x1237.
eth_chainId.sh
curl -s https://rpc.mainnet.chain.robinhood.com \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}'
# -> {"jsonrpc":"2.0","id":1,"result":"0x1237"}Snippets
viem
client.ts
import { createPublicClient, http, defineChain } from "viem";
const robinhood = defineChain({
id: 4663,
name: "Robinhood Chain",
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
rpcUrls: {
default: { http: ["https://rpc.mainnet.chain.robinhood.com"] },
},
blockExplorers: {
default: { name: "Blockscout", url: "https://robinhoodchain.blockscout.com" },
},
});
const client = createPublicClient({
chain: robinhood,
transport: http(),
});
console.log(await client.getBlockNumber());
console.log(await client.getChainId()); // 4663ethers
provider.ts
import { JsonRpcProvider } from "ethers";
const provider = new JsonRpcProvider(
"https://rpc.mainnet.chain.robinhood.com",
4663
);
const network = await provider.getNetwork();
console.log(network.chainId); // 4663n
const block = await provider.getBlockNumber();
console.log(block);curl
eth_chainId.sh
curl -s https://rpc.mainnet.chain.robinhood.com \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}'
# -> {"jsonrpc":"2.0","id":1,"result":"0x1237"}foundry
cast.sh
cast chain-id --rpc-url https://rpc.mainnet.chain.robinhood.com
# -> 4663
cast block-number --rpc-url https://rpc.mainnet.chain.robinhood.com