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 transactionsReturns
Object
- An object of type Block as described at eth_getBlockByNumber
, or null when no block was found"demo"
Successful Response
The response is of type object
.