TriportRPC

eth_getBlockByHash

Robinhood Chain / https://triport.io/rpc/robinhood

Minimum tier: Free

Robinhood Chain method guide

Last updated:

Measured OK on 8 host(s) in robinhood-2026-09-07-perhost.json.

Parameters

eth_getBlockByHash parameters
NameTypeRequiredDescription
blockHashHashYes
fullTransactionsbooleanYes

Returns

eth_getBlockByHash return value
FieldType
resultobject

Examples

curl https://triport.io/rpc/robinhood \
  -X POST -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <api-key>' \
  -d '{"jsonrpc":"2.0","id":1,"method":"eth_getBlockByHash","params":["<blockHash>","<fullTransactions>"]}'
const res = await fetch("https://triport.io/rpc/robinhood", {
  method: "POST",
  headers: { "Content-Type": "application/json", Authorization: "Bearer <api-key>" },
  body: JSON.stringify({
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_getBlockByHash",
  "params": [
    "<blockHash>",
    "<fullTransactions>"
  ]
}),
});
const data = await res.json();
import requests
resp = requests.post(
    "https://triport.io/rpc/robinhood",
    headers={"Authorization": "Bearer <api-key>"},
    json={"jsonrpc":"2.0","id":1,"method":"eth_getBlockByHash","params":["<blockHash>","<fullTransactions>"]},
)
print(resp.json())

Usage

  1. Transport: HTTP (JSON-RPC).
  2. Chain: Robinhood Chain.
  3. Clusters: mainnet.
  4. Credit cost: 1 per call.

FAQ

What does eth_getBlockByHash do?
Return a block by hash.
How many credits does eth_getBlockByHash cost?
eth_getBlockByHash costs 1 credit(s) per call on Triport by default.
Is eth_getBlockByHash available over WebSocket?
eth_getBlockByHash is an HTTP JSON-RPC method.