Beacon
Get state SSZ HashTreeRoot
Calculates HashTreeRoot for state with given 'stateId'. If stateId is root, same value will be returned.
get/eth/v1/beacon/states/{state_id}/root
Request
- Base URL: http://public-mainnet-node.ethereum.org
- URL: http://public-mainnet-node.ethereum.org/eth/v1/beacon/states/{state_id}/root
- Auth: none declared
Path parameters
state_idstring required
State identifier. Can be one of: "head" (canonical head in node's view), "genesis", "finalized", "justified", <slot>, <hex encoded stateRoot with 0x prefix>.
Response
Success
Example response
{
"data": {
"root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.