Last updated 1 month ago
Was this helpful?
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>.
// Request curl -X GET -H 'Content-Type: application/json' https://ethereum-beacon.blockpi.network/rpc/v1/your-rpc-key/eth/v1/beacon/states/finalized/fork // Result { "execution_optimistic": false, "finalized": true, "data": { "previous_version": "0x03000000", "current_version": "0x04000000", "epoch": "269568" } }
Returns Fork object for state with given 'stateId'.