getBeaconStateFork
Identify the active fork version for a given Beacon Chain state, such as head, genesis, finalized, or a specific slot, to verify network upgrades.
Instructions
Get the fork version information 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": "getBeaconStateFork"
}
}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 |