⚡ Dedicated Nodes for ETH, BSC, MATIC & other Blockchains at a Reduced Price!

gno

Gnosis Chain (GNO)

Method: POST eth_getBlockByHash

dropdown
POST

eth_getBlockByHash

Returns information about the block by hash.

Parameters

DATA - None

32-byte hash of a block.

Boolean - None

If true, returns the full transaction objects; if false, returns the transaction hashes.

Request

curl --location --request POST 'https://gno.getblock.io/mainnet/' \ 
--header 'x-api-key: YOUR-API-KEY' \ 
--header 'Content-Type: application/json' \ 
--data-raw '{"jsonrpc": "2.0",
"method": "eth_getBlockByHash",
"params": ["0xc48fb64230a82f65a08e7280bd8745e7fea87bc7c206309dee32209fe9a985f7", false],
"id": "getblock.io"}'


Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": null
}