eth_getRootHash

Returns the root hash of a given block range.

Parameters

  1. Starting block number in decimal integer.

  2. Ending block number in decimal integer.

Note - the maxmimum block range allowed per call is 32768.

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_getRootHash",
  "params": [
    1001,
    33768
  ],
  "id": 1
}'

Sample Response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "7b830f9fc38c3e7d4f5f78ac6b7adcaed0b8104442bf96dbf39edc3a9d24f9d0"
}

Last updated