Skip to main content

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

Get Fork information from state identified by state_id.

Updated on
Mar 24, 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

Indicates whether the execution is optimistic

finalized
boolean

Indicates whether the response is finalized

data
object

Fork data object containing versioning details

previous_version
string

The previous fork version

current_version
string

The current fork version

epoch
string

The epoch at which the fork occurs

Request
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