L1 Validator Metrics
Get metric values with given nodeId and timestamp range
Get given metric values for a given nodeId with or without a timestamp range.
Path Parameters
metricstring
Which metric to fetch for given L1 validator(node) ID.
Value in
"perNodeCumulativeFeesPaid" | "perNodeDailyFeesPaid"nodeIdstring
A primary network (P or X chain) nodeId.
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/validator/NodeID-JQPadXEMWtRtJyXrisyDNWuXKSjSf9D36/metrics/perNodeDailyFeesPaid?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?