/v1/beacon/states/{state_id}/fork
GET
https://eth-mainnetbeacon.g.alchemy.com/v2/docs-demo/eth/v1/beacon/states/{state_id}/fork
Returns the Fork object for the given state. The Fork contains information about protocol versioning (previous and current fork versions, plus the epoch at which they apply).
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
Fork object for the requested state.
Was this page helpful?