getBeaconStateRoot
Retrieve the Beacon Chain state root hash for a specified state, enabling verification of chain integrity and facilitating consensus layer data queries.
Instructions
Get the state root hash for a given Beacon Chain state
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"stateId": "<stateId>"
},
"name": "getBeaconStateRoot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | Network ID. Call listSupportedNetworks for all options. e.g. "eth-mainnet", "base-mainnet" | eth-mainnet |
| stateId | Yes | State ID: head, genesis, finalized, slot, or state root |