Get validator identities from state

Returns filterable list of validators identities.

Identities will be returned for all indices or public keys that match known validators. If an index or public key does not match any known validator, no identity will be returned but this will not cause an error. There are no guarantees for the returned data in terms of ordering.

Depending on Accept header data can be returned either as JSON or as bytes serialized by SSZ.

Path Params
string
required

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

Body Params

An array of values, with each value either a hex encoded public key (any bytes48 with 0x prefix) or a validator index.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json