0.01 credits per call
eth_getBlockByNumber on Ethereum: Returns block information by block number.
Endpoint
Authorization: Bearer <GOLDRUSH_API_KEY>. See authentication.
Parameters
Returns
Object | null: Block object, or null if no block was found.
Examples
Errors
Standard JSON-RPC errors:-32600 invalid request, -32601 method not found, -32602 invalid params.
Related Blocks info methods on Ethereum
eth_blockNumberon Ethereumeth_getBlockByHashon Ethereumeth_getBlockTransactionCountByHashon Ethereumeth_getBlockTransactionCountByNumberon Ethereum
Also available on
eth_getBlockByNumberon Polygoneth_getBlockByNumberon BNB Smart Chain (BSC)eth_getBlockByNumberon Arbitrumeth_getBlockByNumberon Baseeth_getBlockByNumberon HyperEVMeth_getBlockByNumberon MegaETHeth_getBlockByNumberon Monadeth_getBlockByNumberon Tempoeth_getBlockByNumberon Robinhood Chain