/eth/v2/debug/beacon/states/{state_id}
Returns full BeaconState object for given stateId. Depending on Accept header it can be returned either as json or as bytes serialized by SSZ
Parameters:
state_id-string, State identifier. Can be one of: "head" (canonical head in node's view), "genesis", "finalized", "justified", , <hex encoded stateRoot with 0x prefix>.
Example:
// Request
curl -X GET -H 'Content-Type: application/json'
https://ethereum-beacon.blockpi.network/rpc/v1/your-rpc-key/eth/v2/debug/beacon/states/head
// Result
Last updated
Was this helpful?