RPC Documentation

Complete reference for all 36 JSON-RPC methods supported on the RobinHood Chain.

Quick Start

Send JSON-RPC requests to the RobinHood Chain endpoint using any HTTP client or Web3 library.

// Using fetch
const response = await fetch("https://robinhood-mainnet.g.alchemy.com/v2/YOUR_KEY", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    jsonrpc: "2.0",
    method: "eth_blockNumber",
    params: [],
    id: 1
  })
});

// Using ethers.js
import { JsonRpcProvider } from "ethers";
const provider = new JsonRpcProvider("https://robinhood-mainnet.g.alchemy.com/v2/YOUR_KEY");
const blockNumber = await provider.getBlockNumber();

// Using viem
import { createPublicClient, http } from "viem";
const client = createPublicClient({
  transport: http("https://robinhood-mainnet.g.alchemy.com/v2/YOUR_KEY")
});
const block = await client.getBlockNumber();

Chain Details

Chain ID
29250
Network
RobinHood
Currency
ETH
Type
EVM

Block

eth_blockNumber

Returns the current block number

eth_getBlockByNumber2 params

Returns information about a block by number

blockNumber*fullTx
eth_getBlockByHash2 params

Returns information about a block by hash

blockHash*fullTx
eth_getBlockTransactionCountByNumber1 param

Returns the number of transactions in a block by number

blockNumber*
eth_getBlockTransactionCountByHash1 param

Returns the number of transactions in a block by hash

blockHash*
eth_getUncleByBlockNumberAndIndex2 params

Returns uncle block info by number and index

blockNumber*index*
eth_getUncleCountByBlockNumber1 param

Returns the number of uncles in a block by number

blockNumber*

Account

eth_getBalance2 params

Returns the balance of an address in wei

address*block
eth_getTransactionCount2 params

Returns the number of transactions sent from an address (nonce)

address*block
eth_getCode2 params

Returns the code at a given address (for smart contracts)

address*block
eth_getStorageAt3 params

Returns the value from a storage position at a given address

address*position*block
eth_accounts

Returns a list of addresses owned by the client

Transaction

eth_getTransactionByHash1 param

Returns transaction details by hash

txHash*
eth_getTransactionReceipt1 param

Returns the receipt of a transaction

txHash*
eth_getTransactionByBlockNumberAndIndex2 params

Returns a transaction by block number and index

blockNumber*index*
eth_getTransactionByBlockHashAndIndex2 params

Returns a transaction by block hash and index

blockHash*index*
eth_sendRawTransaction1 param

Submits a signed transaction to the network

signedTx*
eth_estimateGas2 params

Estimates gas needed for a transaction

to*data
eth_call3 params

Executes a message call without creating a transaction

to*data*block

Gas

eth_gasPrice

Returns the current gas price in wei

eth_maxPriorityFeePerGas

Returns the current max priority fee per gas

eth_feeHistory3 params

Returns fee history for a range of blocks

blockCount*newestBlockrewardPercentiles

Network

net_version

Returns the current network ID

net_listening

Returns whether the client is actively listening for connections

net_peerCount

Returns the number of peers connected to the node

eth_chainId

Returns the chain ID

eth_syncing

Returns syncing status or false if not syncing

web3_clientVersion

Returns the client version

eth_protocolVersion

Returns the current Ethereum protocol version

Logs

eth_getLogs3 params

Returns logs matching a filter

addressfromBlocktoBlock
eth_newFilter2 params

Creates a new filter for log events

fromBlocktoBlock
eth_getFilterChanges1 param

Returns new log entries since last poll for a filter

filterId*
eth_uninstallFilter1 param

Removes a filter

filterId*

Mining

eth_mining

Returns whether the client is currently mining

eth_hashrate

Returns the number of hashes per second the node is mining

eth_coinbase

Returns the client coinbase address