getBeaconStateRandao
Retrieve the verified RANDAO mix value from a specified Beacon Chain state and optional epoch, enabling access to on-chain randomness for verification and application use.
Instructions
Get the RANDAO mix value for a given Beacon Chain state and optional epoch
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | Network ID. Call listSupportedNetworks for all options. e.g. "eth-mainnet", "base-mainnet" | eth-mainnet |
| stateId | Yes | State ID: head, genesis, finalized, slot, or state root | |
| epoch | No | Epoch number to get RANDAO for |