Returns a list of validators registered at the consensus layer
Changed onThe list includes all registered entities, even those without a currently active validator node.
Request
- Base URL: https://nexus.oasis.io/v1
- URL: https://nexus.oasis.io/v1/consensus/validators
- Auth: none declared
Query parameters
The maximum numbers of items to return.
The number of items to skip before starting to collect the result set.
A filter on the validator name. Every returned validator will have a name that is a superstring of the input param.
A filter on the entity or node ID (base64-encoded ed25519 public key). Returns the validator whose entity_id matches the provided value, or whose node's node_id matches the provided value.
Response
A JSON object containing a list of validators registered at the consensus layer.
Example response
{
"total_count": 412,
"is_total_count_clipped": true,
"validators": [
{
"entity_address": "oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p",
"entity_id": "gb8SHLeDc69Elk7OTfqhtVgE2sqxrBCDQI84xKR+Bjg=",
"node_id": "lbxs4hlud9XNloIOdhJPaCahd7HtiY8QATCgGnFfCM0=",
"escrow": {
"active_balance": "1234567890123456789012",
"active_shares": "1234567890123456789012",
"debonding_balance": "1234567890123456789012",
"debonding_shares": "1234567890123456789012",
"self_delegation_balance": "1234567890123456789012",
"self_delegation_shares": "1234567890123456789012",
"active_balance_24": "1234567890123456789012"
},
"voting_power": "1234567890123456789012",
"voting_power_cumulative": "1234567890123456789012",
"start_date": "2022-10-15T00:05:34Z",
"media": {
"name": "WhaleStake"
},
"signed_blocks": [
{
"height": 8048956
}
]
}
],
"stats": {
"total_voting_power": "1234567890123456789012",
"total_staked_balance": "1234567890123456789012"
}
}Changes
- breaking
the
//////response's property type changed fromintegerto no type, and format fromint64to no format for status - breaking
the
///////response's property type changed fromintegerto no type, and format fromint64to no format for status - breaking
the
///////response's property type changed fromintegerto no type, and format fromint64to no format for status - info
added the new optional
queryrequest parameterid - info
added to the
//////response propertyallOflist for the response status - info
added to the
///////response propertyallOflist for the response status - info
added to the
///////response propertyallOflist for the response status
- breaking
- info
added the optional property
///////to the response with the status
- info