curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=137 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_getRootHash",
"params": [
1000,
1032
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x67518d9fc6bf9ff886ba1a4e932a0d0a8a1318b3f300518773aaf2210410cf73"
}
Returns the root hash of a specified block range. Useful for verifying block inclusion and consensus consistency over a range.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=137 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_getRootHash",
"params": [
1000,
1032
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x67518d9fc6bf9ff886ba1a4e932a0d0a8a1318b3f300518773aaf2210410cf73"
}
eth_getRootHash:params[0]: The starting block number (inclusive).params[1]: The ending block number (inclusive).β0x67518d9fc6bf9ff886ba1a4e932a0d0a8a1318b3f300518773aaf2210410cf73β.curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=137 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_getRootHash",
"params": [
1000,
1032
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x67518d9fc6bf9ff886ba1a4e932a0d0a8a1318b3f300518773aaf2210410cf73"
}
Was this page helpful?