Skip to content
Alchemy Logo

/v1/beacon/states/{state_id}/validators/{validator_id}

GET
https://eth-mainnetbeacon.g.alchemy.com/v2/docs-demo/eth/v1/beacon/states/{state_id}/validators/{validator_id}

Returns validator specified by state and ID or public key, along with its status and balance. The validator can be referenced by its index (numeric) or hex-encoded public key (bytes48 with 0x prefix).

Path Parameters

stringrequired

State identifier. Can be one of: head (canonical head in node's view), genesis, finalized, justified, <slot>, <hex encoded stateRoot with 0x prefix>.

stringrequired

Validator identifier. Either validator index (integer) or hex-encoded public key (bytes48 with 0x prefix).

Responses

200

Validator details for the given state and identifier.

Was this page helpful?