Skip to content

Commit

Permalink
Clarify RANDAO API description
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsproul committed Sep 26, 2022
1 parent b9339e0 commit f3d5815
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions apis/beacon/states/randao.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
get:
operationId: "getStateRandao"
summary: "Get the RANDAO mix for some epoch."
summary: "Get the RANDAO mix for some epoch in a specified state."
description: |
Fetch the RANDAO mix for a requested epoch from the state identified by `state_id`.
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.
tags:
- Beacon
parameters:
Expand Down

0 comments on commit f3d5815

Please sign in to comment.