Skip to content

Commit

Permalink
Merge pull request #173 from mcdee/clarify-missing-items
Browse files Browse the repository at this point in the history
Add note regarding invalid vs not found.
  • Loading branch information
mpetrunic authored Oct 15, 2021
2 parents 22b0d75 + 6ebea8e commit f68bba8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion apis/beacon/states/validator_balances.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
get:
operationId: "getStateValidatorBalances"
summary: "Get validator balances from state"
description: "Returns filterable list of validator balances."
description: |
Returns filterable list of validators balances.
Balances will be returned for all indices or public key that match known validators. If an index or public key does not
match any known validator, no balance will be returned but this will not cause an error. There are no guarantees for the
returned data in terms of ordering; the index and is returned for each balance, and can be used to confirm for which inputs a
response has been returned.
tags:
- Beacon
parameters:
Expand Down
8 changes: 7 additions & 1 deletion apis/beacon/states/validators.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
get:
operationId: "getStateValidators"
summary: "Get validators from state"
description: "Returns filterable list of validators with their balance, status and index."
description: |
Returns filterable list of validators with their balance, status and index.
Information will be returned for all indices or public key that match known validators. If an index or public key does not
match any known validator, no information will be returned but this will not cause an error. There are no guarantees for the
returned data in terms of ordering; both the index and public key are returned for each validator, and can be used to confirm
for which inputs a response has been returned.
tags:
- Beacon
parameters:
Expand Down

0 comments on commit f68bba8

Please sign in to comment.