Links

/eth/v1/beacon/states/{state_id}/fork

Get Fork object for requested state
get
https://mainnet.ethereum.validationcloud.io/v1/<YOUR_API_KEY_HERE>/
/eth/v1/beacon/states/{state_id}/fork
Get Fork object for requested state

Returns

object for state with given 'stateId'.

Parameters
Path
state_id*
string
State identifier. Can be one of: "head" (canonical head in node's view), "genesis", "finalized", "justified", \<slot\>, \<hex encoded stateRoot with 0x prefix\>.
Responses
200: OK
Success
400: Bad Request
Invalid state ID
404: Not Found
State not found
500: Internal Server Error
Beacon node internal error.
Mainnet
Testnet
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"
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"