v1

latestOpenAPI 3.1.02026-07-12185391.3 KB
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.

get/v2/validator/{nodeId}/metrics/{metric}

Path parameters

metric'perNodeCumulativeFeesPaid' | 'perNodeDailyFeesPaid' required

Which metric to fetch for given L1 validator(node) ID.

nodeIdstring required

A primary network (P or X chain) nodeId.

Query parameters

startTimestampinteger

Query param for retrieving items after a specific timestamp.

endTimestampinteger

Query param for retrieving items before a specific timestamp.

Response

Successful response

nextPageTokenstring

A token, which can be sent as pageToken to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.