Skip to main content
POST

Parameters

chainId
string
default:"137"
required
Unique identifier for a blockchain network.
id
number
default:1
required
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"eth_getRootHash"
required
JSON-RPC method name.
params
object
required
Parameters: [fromBlock, toBlock]Positional parameters for eth_getRootHash:
  • params[0]: The starting block number (inclusive).
  • params[1]: The ending block number (inclusive).

Returns

result
string
Hex-encoded root hash covering the specified block range. Example: “0x67518d9fc6bf9ff886ba1a4e932a0d0a8a1318b3f300518773aaf2210410cf73”.