Granite Upgrade Activates in11d:16h:54m:29s
L1 Validator Metrics

Get given metric for all validators

Get given metric's value for all validators.

GET
/v2/validators/metrics/{metric}

Path Parameters

metricstring

Which network level metric to fetch for L1 validator.

Value in"totalCumulativeFeesDaily" | "totalValidatorFeesDaily" | "totalPayingValidatorsDaily"

Query Parameters

startTimestamp?integer

Query param for retrieving items after a specific timestamp.

Range0 <= value
endTimestamp?integer

Query param for retrieving items before a specific timestamp.

Range0 <= value

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://metrics.avax.network/v2/validators/metrics/totalValidatorFeesDaily?startTimestamp=1689541049&endTimestamp=1689800249"
{
  "nextPageToken": "string",
  "results": [
    {
      "value": 0,
      "timestamp": 0
    }
  ]
}
{
  "message": "string",
  "statusCode": 400,
  "error": "Bad Request"
}
{
  "message": "string",
  "statusCode": 401,
  "error": "Unauthorized"
}
{
  "message": "string",
  "statusCode": 403,
  "error": "Forbidden"
}
{
  "message": "string",
  "statusCode": 404,
  "error": "Not Found"
}
{
  "message": "string",
  "statusCode": 429,
  "error": "Too Many Requests"
}
{
  "message": "string",
  "statusCode": 500,
  "error": "Internal Server Error"
}
{
  "message": "string",
  "statusCode": 502,
  "error": "Bad Gateway"
}
{
  "message": "string",
  "statusCode": 503,
  "error": "Service Unavailable"
}

Is this guide helpful?