Get validator

Get validator by public key

GET /validators/{public_key}?era_id={era_id}

Query params

Sorting

None

Optional properties

Response

Validator

Example

Since this API works only with recent eras, you'll need to replace the era ID with the latest one, which you can fetch using the Get auction metrics API.

curl -X 'GET' \
  'https://api.testnet.cspr.cloud/validators/01269c84a9153623fc47288f5a2b1bd681fc7d01b1f6144626583a56d3ba8f7c09?era_id=12100' \
  -H 'accept: application/json' \
  -H 'authorization: 55f79117-fc4d-4d60-9956-65423f39a06a'
{
  "data": {
    "delegators_number": 8,
    "delegators_stake": 95108587769764,
    "era_id": 12100,
    "fee": 8,
    "is_active": true,
    "network_share": "0",
    "public_key": "01269c84a9153623fc47288f5a2b1bd681fc7d01b1f6144626583a56d3ba8f7c09",
    "rank": 100,
    "self_share": "26.11",
    "self_stake": 33607218439208,
    "total_stake": 128715806208972
  }
}

Last updated