eth_getBlockByHash
Returns information about a block given the block’s hash.
Parameters
DATA
, 32 Bytes - Hash of a blockBoolean
- If true it returns the full transaction objects, if false only the hashes of the transactions
Returns
Object
- An object of type Block as described ateth_getBlockByNumber
, or null when no block was found
POST
Path Parameters
Example:
"demo"
Body
application/json
Response
200 - application/json
Successful Response
The response is of type object
.