Ethereum-Compatible Interface
eth_getBlockByHashTry API
POST
eth_getBlockByHash
(eth_getBlockByHash)
Parameters
Block hash; true includes full transactions, otherwise only transaction hashes are returned
See the example
Return Values
Result: Block information
Example Code
{
"jsonrpc": "2.0",
"method": "eth_getBlockByHash",
"params": [
"0xe7be2d8137a2b1381a228dd6eeabb451bd94c6f8728810dab10c93a8ab632e57",
true
],
"id": 1
}{
"jsonrpc": "2.0",
"id": "1",
"result": "0x..."
}