EVM RPC API
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
https://{network}.s.chainbase.online/v1
/
{api-key}
Path Parameters
api-key
string
requiredBody
application/json
id
integer
default: 1requiredjsonrpc
string
default: 2.0requiredmethod
string
default: eth_getBlockByHashrequiredparams
any[]
requiredResponse
200 - application/json
id
integer
requiredjsonrpc
string
requiredresult
object
required