eth/v1/beacon/states/{state_id}/fork REST API Endpoint
Parameters
Path Parameters
state_id
string
REQUIRED
Loading...
Returns
execution_optimistic
boolean
Loading...
finalized
boolean
Loading...
data
object
Loading...
previous_version
string
Loading...
current_version
string
Loading...
epoch
string
Loading...
Request
1curl -X GET "https://docs-demo.bera-mainnet.quiknode.pro/eth/v1/beacon/states/head/fork" \2-H "Content-Type: application/json"
1curl -X GET "https://docs-demo.bera-mainnet.quiknode.pro/eth/v1/beacon/states/head/fork" \2-H "Content-Type: application/json"
Response
1{2"execution_optimistic": false,3"finalized": true,4"data": {5"previous_version": "0x05000000",6"current_version": "0x05010000",7"epoch": "0xcb84"8}9}
1{2"execution_optimistic": false,3"finalized": true,4"data": {5"previous_version": "0x05000000",6"current_version": "0x05010000",7"epoch": "0xcb84"8}9}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free