eth_getBlockByHash

Returns information about a given block by hash.

Parameters

  1. Blockhash - hash of the requested block.

  2. Boolean - If true it returns the full transaction objects; if false it returns only the hashes of the transactions.

Sample Request

curl https://lb.nodies.app/v1/<INSERT URL> \
   -H "x-api-key: <API-KEY>" \
   -X POST \
   -H "Content-Type: application/json" \
   -d '{ 
  "jsonrpc": "2.0",
  "method": "eth_getBlockByHash",
  "params": [
    "0x4361c7c33bfd5676673be3b0b3604cbf3513e15224fdfc4e3b687dc68fa7abe9",
    false
  ],
  "id": 1
}'

Sample Response

Last updated