Skip to main content

eth-v1-beacon-states-{state_id}-fork REST API Endpoint

Returns a Fork object for state with the given 'stateId'.

Updated on
Jul 07, 2026

Path Parameters

state_id
string
REQUIRED

State identifier. Can be one of: "head" (canonical head in node's view), "genesis", "finalized", "justified", <slot>, <hex encoded stateRoot with 0x prefix>.

Returns

execution_optimistic
boolean

It's true if the response references an unverified execution payload. The optimistic information may be invalidated at a later time. If the field is not present, assume the false value

data
object

The fork object from the CL spec with the following values:

previous_version
string

A fork version number

current_version
string

A fork version number

epoch
string

The epoch number

Request
Response
1
{
2
"execution_optimistic": false,
3
"finalized": false,
4
"data": {
5
"previous_version": "0x03000000",
6
"current_version": "0x04000000",
7
"epoch": "269568"
8
}
9
}
1
{
2
"execution_optimistic": false,
3
"finalized": false,
4
"data": {
5
"previous_version": "0x03000000",
6
"current_version": "0x04000000",
7
"epoch": "269568"
8
}
9
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free