L1 Validator Metrics
Get metric values with given subnetId and timestamp range
Get given metric values for a given subnetId with or without a timestamp range.
Path Parameters
metricstring
Which metric to fetch for given subnet ID.
Value in
"perSubnetDailyFeesPaid" | "perSubnetCumulativeFeesPaid" | "perSubnetPayingValidators"subnetIdstring
The subnet ID to filter by.
Query Parameters
startTimestamp?integer
Query param for retrieving items after a specific timestamp.
Range
0 <= valueendTimestamp?integer
Query param for retrieving items before a specific timestamp.
Range
0 <= valueResponse 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/subnet/eYwmVU67LmSfZb1RwqCMhBYkFyG8ftxn6jAwqzFmxC9STBWLC/metrics/perSubnetDailyFeesPaid?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?