0.01 credits per call
eth_getBlockByNumber on MegaETH: 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 MegaETH
eth_blockNumberon MegaETHeth_getBlockByHashon MegaETHeth_getBlockTransactionCountByHashon MegaETHeth_getBlockTransactionCountByNumberon MegaETH
Also available on
eth_getBlockByNumberon Ethereumeth_getBlockByNumberon Polygoneth_getBlockByNumberon BNB Smart Chain (BSC)eth_getBlockByNumberon Arbitrumeth_getBlockByNumberon Baseeth_getBlockByNumberon HyperEVMeth_getBlockByNumberon Monadeth_getBlockByNumberon Tempoeth_getBlockByNumberon Robinhood Chain