/ DEVELOPERS / API / ETH_GETBLOCKBYHASH

eth_getBlockByHash

Same as getBlockByNumber, but keyed off block hash.

eth_getBlockByHash

Same as getBlockByNumber, but keyed off block hash.

eth_*category: blockreturns: object
Share link

Parameters

0x-prefixed block hash

Include full tx objects

Response

Press Send Request to see a response.

Copy as

curl -X POST '/rpc' \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","method":"eth_getBlockByHash","params":[],"id":1}'