API Reference

eth_getBlockByHash

Returns information about a block by block hash.

Log in to see full request history
Path Params
string
required
Defaults to public

For higher throughput, please create your own API key.

Body Params
integer
Defaults to 1
string
Defaults to 2.0
string
Defaults to eth_getBlockByHash
params
array
length between 2 and 2
Defaults to 0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35,false
  1. BLOCK HASH - string - a string representing the hash (32 bytes) of a block.
  2. SHOW TRANSACTION DETAILS FLAG - boolean - if set to 'true', it returns the full transaction objects, if false only the hashes of the transactions. Defaults to false.
params
Response

Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json