/v1/beacon/states/{state_id}/root
GET
https://eth-mainnetbeacon.g.alchemy.com/v2/docs-demo/eth/v1/beacon/states/{state_id}/root
Calculates the HashTreeRoot for the state with the given stateId. If stateId itself is a root, the same value will be returned.
Path Parameters
state_idstringrequiredState identifier. Can be one of: head (canonical head in node's view), genesis, finalized, justified, <slot>, <hex encoded stateRoot with 0x prefix>.
Responses
200
HashTreeRoot for the requested state.
Was this page helpful?