curl --request GET \
--url https://beacon-nd-422-757-666.p2pify.com/0a9d79d93fb2f4a4b1e04695da2b77a7/eth/v1/beacon/states/{state_id}/validators/{validator_index}{
"index": 123,
"balance": 123,
"status": "<string>",
"validator": {
"public_key": "aSDinaTvuI8gbWludGxpZnk=",
"effective_balance": 123,
"slashed": true
}
}curl --request GET \
--url https://beacon-nd-422-757-666.p2pify.com/0a9d79d93fb2f4a4b1e04695da2b77a7/eth/v1/beacon/states/{state_id}/validators/{validator_index}{
"index": 123,
"balance": 123,
"status": "<string>",
"validator": {
"public_key": "aSDinaTvuI8gbWludGxpZnk=",
"effective_balance": 123,
"slashed": true
}
}/eth/v1/beacon/states/{state_id}/validators endpoint retrieves information about validators associated with a specified state in the Beacon Chain. This data is crucial for understanding validators’ status, performance, and participation in the Ethereum network.
state_id — the identifier of the state for which validator information is requested. Acceptable values for state_id include:
head — represents the latest canonical state in the node’s view.genesis — the initial state of the Beacon Chain.finalized — the most recent state that has been finalized.justified — a recently justified state in the Proof of Stake consensus.<slot> — a specific time slot in the Ethereum protocol.<hex encoded stateRoot with 0x prefix> — a specific state root in hexadecimal format.data — an array of objects, each representing a validator, with fields including:
index — the index number of the validator.balance — the current balance of the validator in Gwei.status — the current status of the validator, with possible values:
pending_initialized — awaiting sufficient balance for activation.pending_queued — queued for activation.active_ongoing — actively participating in the consensus process.active_exiting — requested to exit, but not yet exited.active_slashed — slashed and awaiting exit.exited_unslashed — exited without being slashed.exited_slashed — exited due to being slashed.withdrawal_possible — eligible to withdraw funds.withdrawal_done — successfully withdrawn.validator — detailed information about the validator, such as:
public_key — the public key of the validator.withdrawal_credentials — required credentials for fund withdrawal.effective_balance — the validator’s effective balance in Gwei.slashed — indicates if the validator has been slashed.activation_eligibility_epoch — eligibility epoch for activation.activation_epoch — the epoch of validator activation.exit_epoch — the epoch of validator exit.withdrawable_epoch — the epoch after which withdrawal is possible.State identifier which can be a slot number, an epoch number, a block root, or 'genesis', 'head' (default is 'head').
Index of the validator (default is '1').
Successful response with validator information
Validator index.
Validator's balance.
Validator status.
Was this page helpful?