Get validator total rewards

Get the cumulative amount of rewards received by a validator.

GET /validators/{public_key}/total-rewards

Query params

None

Sorting

None

Optional properties

None

Response

uint64

Example

curl -X 'GET' \
  'https://api.testnet.cspr.cloud/validators/0106ca7c39cd272dbf21a86eeb3b36b7c26e2e9b94af64292419f7862936bca2ca/total-rewards' \
  -H 'Accept: application/json' \
  -H 'Authorization: 55f79117-fc4d-4d60-9956-65423f39a06a'
{
  "data": 5823998539874573
}

Last updated