eth_getBlockByHash — Robinhood Chain JSON-RPC

Status: Available

Return a block by hash.

POSThttps://triport.io/rpc/robinhood
Network
Robinhood Chain mainnet (chain ID 4663)
Scope
robinhood:rpc
Auth
x-token: $TRIPORT_API_KEY
Rate limit
robinhood_read_rpc - 15 / 20 / 100 / 250 RPS sustained · short burst 30 / 40 / 200 / 500 (free / basic / pro / business) (plan policy); enterprise unlimited; Burst capacity

Endpoint and plans: Robinhood Chain RPC endpoint.

eth_getBlockByHash — return a block by hash. The published signature and response shape come from the measured Robinhood OpenRPC contract (chain ID 4663).

A block by hash, when you already know the hash and want exactly that block regardless of reorgs. This is the reorg-safe half of the pair: a number can come to mean a different block, a hash cannot.

Parameters

JSON-RPC params is a positional array.

blockHashHashrequired
32-byte block hash.
fullTransactionsbooleanrequired
true returns full transaction objects, false only their hashes.

Response

A measured response from Robinhood Chain mainnet.

Errors

See Robinhood errors. Invalid parameters return a JSON-RPC parameter error; authentication and rate-limit failures use the shared client error contract. Unknown failures are returned without an implicit retry.

Examples

const response = await fetch("https://triport.io/rpc/robinhood", {
  method: "POST",
  headers: { "x-token": process.env.TRIPORT_API_KEY, "Content-Type": "application/json" },
  body: JSON.stringify({"jsonrpc":"2.0","id":1,"method":"eth_getBlockByHash","params":["0x0000000000000000000000000000000000000000000000000000000000000000",false]}),
});
const payload = await response.json();

Notes

  • Reorg-safe half of the block pair: a number can come to mean a different block, a hash cannot.
  • Use it to pin a backfill range before walking it.