TriportRPC

eth_getBlockByHash

Return a block by hash.

Robinhood Chain mainnet (chain ID 4663)robinhood:rpcrobinhood_read_rpc - 15 / 20 / 100 / 250 RPS (free / basic / pro / business) (default, unmeasured); enterprise unlimited

eth_getBlockByHash return a block by hash. The published signature and response shape come from the measured Robinhood OpenRPC contract.

Parameters

JSON-RPC params is a positional array.

blockHashHashrequired
Positional OpenRPC parameter.
fullTransactionsbooleanrequired
Positional OpenRPC parameter.

Response

Representative envelope with the top-level shape of the accepted fixture:

Errors

See Robinhood errors. Invalid parameters return a JSON-RPC parameter error; authentication and quota 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

  • The result is the selected healthy channel’s view; adjacent calls are not pinned to one upstream snapshot.