Eth_getBlockByHash
Authorizations
api-keystringRequired
Body
jsonrpcstringRequiredExample:
JSON-RPC protocol version (always "2.0")
2.0methodstringRequiredExample:
The JSON-RPC method name
eth_getBlockByHashparamsstring[] · min: 2 · max: 2RequiredExample:
Array of parameters:
- Block hash (string)
- Boolean flag — if true, return full transactions; if false, only hashes.
["0x7f9d3a8f8a6b6d4415a93b0f8d8a2bfc5a44d5e7a3cb1a3a5cf3a0f8d1c6c1d2",false]idintegerRequiredExample:
Request identifier
1Responses
200
Successful response
application/json
jsonrpcstringRequiredExample:
JSON-RPC version
2.0idintegerRequiredExample:
ID of the request
1400
Invalid request
500
Internal server error
post
/Last updated