curl -X GET \
"curl https://mainnet.ethereum.validationcloud.io/v1/<YOUR_API_KEY_HERE>/eth/v1/beacon/states/head/fork \
-H "Content-Type: application/json"
Get Fork object for requested state
Returns Fork object for state with given 'stateId'.
State identifier. Can be one of: "head" (canonical head in node's view), "genesis", "finalized", "justified", <slot>, <hex encoded stateRoot with 0x prefix>.
"head"
Success
false
True if the response references an unverified execution payload. Optimistic information may be invalidated at a later time. If the field is not present, assume the False value.
The Fork
object from the CL spec.
a fork version number
"0x00000000"
^0x[a-fA-F0-9]{8}$
a fork version number
"0x00000000"
^0x[a-fA-F0-9]{8}$
"1"