latestOpenAPI 3.0.02026-08-138371125.7 KB

707a88e0b355

State

Retrieve the Validator states for a cluster

This endpoint is used to retrieve the states of all validators in a DV Cluster

get/v1/state/{lockHash}

Path parameters

lockHashstring required

The lock_hash calculated for a cluster lock.

Response

A map of pubkeys to DVState

indexstring required
statusstring required
balancestring required
effective_balancestring required
withdrawal_credentialsstring required
pending_partial_withdrawalsstring required
pending_partial_depositsstring required
is_not_within_committeeboolean required

Indicates if validator has been active for at least 256 epochs and is not within the committee period

Example response

{
  "index": "12345",
  "status": "active_ongoing",
  "balance": "32",
  "effective_balance": "32",
  "withdrawal_credentials": "0x01000000000000000000000086b8145c98e5bd25ba722645b15ed65f024a87ec",
  "pending_partial_withdrawals": "3",
  "pending_partial_deposits": "3",
  "is_not_within_committee": true
}