Beacon
Get the RANDAO mix for some epoch in a specified state.
Fetch the RANDAO mix for the requested epoch from the state identified by state_id.
If an epoch is not specified then the RANDAO mix for the state's current epoch will be returned.
By adjusting the state_id parameter you can query for any historic value of the RANDAO mix. Ordinarily states from the same epoch will mutate the RANDAO mix for that epoch as blocks are applied.
get/eth/v1/beacon/states/{state_id}/randao
Request
- Base URL: http://public-mainnet-node.ethereum.org
- URL: http://public-mainnet-node.ethereum.org/eth/v1/beacon/states/{state_id}/randao
- Auth: none declared
Path parameters
state_idstring required
State identifier. Can be one of: "head" (canonical head in node's view), "genesis", "finalized", "justified", <slot>, <hex encoded stateRoot with 0x prefix>.
Query parameters
epochstring
Epoch to fetch the RANDAO mix for. Default: state's current epoch.
Response
Success
Example response
{
"data": {
"randao": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.