Skip to main content
GET
/
v1
/
babylon
/
validators
/
{validator_address}
/
state
Get validator state information
curl --request GET \
  --url https://api.rated.network/v1/babylon/validators/{validator_address}/state \
  --header 'Authorization: Bearer <token>'
{
  "previous": "<string>",
  "next": "<string>",
  "pages": 1,
  "results": [
    {
      "day": "2023-12-25",
      "fromBlockNumber": 123,
      "toBlockNumber": 123,
      "validator": "<string>",
      "activeStake": 123,
      "totalDelegators": 123
    }
  ]
}
Using this endpoint, you can query the historical daily stake balance of a validator by their unique validator_address. The data is aggregated by validator across all of their respective delegators. You can use the fromDate and toDate parameters to query a range of days.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

validator_address
string
required

Query Parameters

limit
integer
default:10

The number of results returned per page

offset
integer
default:0

The number of results to skip before starting to return

fromDate
string<date> | null

Start date

Example:

"2023-01-01"

toDate
string<date> | null

End date

Example:

"2023-12-31"

Response

Successful Response

previous
string | null
required
next
string | null
required
pages
integer
required
Required range: x >= 0
results
BabylonValidatorStake · object[]
required