bor_getRootHash
Returns the root hash of a specified block.
Parameters
QUANTITY, Integer
- fromBlock. The block number from which the range starts REQUIREDQUANTITY, Integer
- toBlock. The block number where the range ends REQUIRED
Returns
DATA
, 20 Bytes - Signer. The address of the validatorQUANTITY, Integer
- ID. The id of the validatorQUANTITY, Integer
- accum. The proposer priority for the validatorQUANTITY, Integer
- power. The voting power of the validator
Example
Request
curl --request POST \
--url https://endpoints.omniatech.io/v1/RPC_ENDPOINT \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{"jsonrpc":"2.0","method":"bor_getRootHash","params":[1000, 1032], "id":1}
'
Response
{
"jsonrpc": "2.0",
"id": 1,
"result": "67518d9fc6bf9ff886ba1a4e932a0d0a8a1318b3f300518773aaf2210410cf73"
}
Last updated