eth_getBlockByHash
Returns information about a block given its block hash.
Parameters
hash
: (string) [Required] A string representing the hash (32 bytes) of a block.transaction details flag
: (boolean) [Required] If set totrue
, returns the full transaction objects, iffalse
returns only the hashes of the transactions.