Skip to main content

Validators

This page displays the JSON representation of the Validator object and a class diagram, providing a visual representation of its structure. A Validator refer to the nodes in the network responsible for validating transactions and maintaining the blockchain's integrity. They hold a stake in the network's native token as collateral and use their computing resources to validate transactions and compete for the right to add the next block to the blockchain. The validator's role is crucial for ensuring the security and decentralization of the network by verifying the transactions and reaching consensus on the next block to be added. In exchange for their validation work, validators receive rewards in the form of newly minted coins or transaction fees.

You can query the different properties of the Validator object, including connected Assets and Providers and base data like its Address and Status. The information presented on this page will give you a comprehensive understanding of the Validator object and its properties.


Sample query:

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

Also, it's possible to query with search attribute:

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