Skip to main content
GET
/
{chain_id}
/
api
/
v2
/
validators
/
stability
/
counters
Get Stability validators counters.
curl --request GET \
  --url https://api.blockscout.com/{chain_id}/api/v2/validators/stability/counters \
  --header 'Authorization: Bearer <token>'
{
  "active_validators_count": "3",
  "active_validators_percentage": 33.33,
  "new_validators_count_24h": "2",
  "validators_count": "9"
}

Authorizations

Authorization
string
header
required

API key passed as a Bearer token in the Authorization header.

Path Parameters

chain_id
string
required

The ID of the blockchain

Response

Stability validators counters.

Aggregate counters describing the Stability chain validator set.

active_validators_count
string
required

Number of validators currently in the active operational state.

Pattern: ^([1-9][0-9]*|0)$
active_validators_percentage
number<float> | null
required

Share of active validators in the total set, expressed as a percentage and floored to two decimal places. null when there are no validators.

Required range: 0 <= x <= 100
new_validators_count_24h
string
required

Number of validators that joined the set within the last 24 hours.

Pattern: ^([1-9][0-9]*|0)$
validators_count
string
required

Total number of validators known on the Stability chain across all operational states.

Pattern: ^([1-9][0-9]*|0)$