Links

/eth/v1/beacon/states/{state_id}/validator_balances

Get validator balances from state
get
https://mainnet.ethereum.validationcloud.io/v1/<YOUR_API_KEY_HERE>/
/eth/v1/beacon/states/{state_id}/validator_balances
Get validator balances from state

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.

Parameters
Path
state_id*
string
State identifier. Can be one of: "head" (canonical head in node's view), "genesis", "finalized", "justified", \<slot\>, \<hex encoded stateRoot with 0x prefix\>.
Body
*
array
Responses
200: OK
Success
400: Bad Request
Invalid state or validator ID
500: Internal Server Error
Beacon node internal error.
Mainnet
Testnet
curl -X GET \
"curl https://mainnet.ethereum.validationcloud.io/v1/<YOUR_API_KEY_HERE>/eth/v1/beacon/states/head/validator_balances?id=0xb8309891538bca2c1cb416a0a60378185ea705f665b8cf7e60b4b22380145bc611fb711062a835bf599b86d04e0d449a \
-H "Content-Type: application/json"
curl -X GET \
"curl https://goerli.ethereum.validationcloud.io/v1/<YOUR_API_KEY_HERE>/eth/v1/beacon/states/head/validator_balances?id=0xb8309891538bca2c1cb416a0a60378185ea705f665b8cf7e60b4b22380145bc611fb711062a835bf599b86d04e0d449a \
-H "Content-Type: application/json"