bor_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": "bor_getRootHash",
  "params": [
    1,
    32768
  ],
  "id": 1
}'

Sample Response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "70e4e162f2bfe5b8c6e27daadebaf7d78e943bb74fcef3ebfe931967c3c29c48"
}

Last updated