Skip to main content

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

Fetches the RANDAO mix for the requested epoch from the state identified by 'stateId'. If an epoch is not specified then the RANDAO mix for the state's current epoch will be returned.

Updated on
May 21, 2026

Path Parameters

state_id
string
REQUIRED

The state identifier. It can be one of: head (canonical head in node's view), genesis, finalized, justified, slot, or stateRoot (hex encoded stateRoot with 0x prefix)

Query Parameters

epoch
string

The epoch to fetch the RANDAO mix for. If not specified, the RANDAO mix for the state's current epoch will be returned

Returns

execution_optimistic
boolean

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

finalized
boolean

Indicates whether the response data is finalized

data
object

The object containing the RANDAO mix value

randao
string

The RANDAO mix value for the requested epoch (hex encoded with 0x prefix)

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