Staking Data
Objects

Validators

Learn about the Validator object type, its fields, and how to query validator data.

Validators

Validators are nodes in the network responsible for validating transactions and maintaining the blockchain's integrity. These entities stake network tokens as collateral and use computing resources to validate transactions and achieve consensus on new blocks. In return, validators receive compensation through newly minted coins or transaction fees.

Validator Object Fields

FieldTypeDescription
idID!Unique identifier
addressStringValidator address
isActiveBooleanActive status
isPrivateBooleanPrivate status
isDynamicBooleanDynamic status
isOpensourceBooleanOpen source status
activeSinceDateWhen validator became active
metricsUpdatedAtDateLast metrics update time
rewardOptionsArrayAssociated reward options
statusStatus!Validator status
metricsArrayValidator metrics
chainListItemChain information

Sample Queries

Basic Validator Query

{
  validators(order: { address: asc }, limit: 5) {
    id
    address
    isActive
    metrics(limit: 20) {
      metricKey
      defaultValue
    }
  }
}

Search Validators

{
  validators(where: {search: "00000"}, order: { address: asc }, limit: 5) {
    id
    address
    isActive
    metrics(limit: 5) {
      metricKey
      defaultValue
    }
  }
}

Validators can be filtered and ordered using the same patterns as other objects. Use where for filtering and order for sorting.

On this page