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.

get/v2/subnet/{subnetId}/metrics/{metric}

Request

  • Base URL
    https://metrics.avax.network
  • URL
    https://metrics.avax.network/v2/subnet/{subnetId}/metrics/{metric}
  • Auth
    none declared

Path parameters

metric'perSubnetDailyFeesPaid' | 'perSubnetCumulativeFeesPaid' | 'perSubnetPayingValidators' required

Which metric to fetch for given subnet ID.

subnetIdstring required

The subnet ID to filter by.

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.

Changes

No recorded changes to this operation across all 2 revisions of this API.