Validators information by state ID

The /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.

πŸ‘

Get you own node endpoint today

Start for free and get your app to production levels immediately. No credit card required.

You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • 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.

Response

The response consists of an object with the following fields:

  • 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.
Language
Click Try It! to start a request and see the response here!