Avalanche · Schema

SubnetRpcUsageMetricsResponseDTO

BlockchainWeb3AvalancheNFTDeFiCross-Chain

Properties

Name Type Description
aggregateDuration string Duration in which the metrics value is aggregated
metrics array Metrics values
chainId string ChainId for which the metrics are aggregated
View JSON Schema on GitHub

JSON Schema

SubnetRpcUsageMetricsResponseDTO.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/avalanche/main/json-schema/SubnetRpcUsageMetricsResponseDTO.json",
  "title": "SubnetRpcUsageMetricsResponseDTO",
  "type": "object",
  "properties": {
    "aggregateDuration": {
      "type": "string",
      "description": "Duration in which the metrics value is aggregated"
    },
    "metrics": {
      "description": "Metrics values",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/RpcMetrics"
      }
    },
    "chainId": {
      "type": "string",
      "description": "ChainId for which the metrics are aggregated"
    }
  },
  "required": [
    "aggregateDuration",
    "metrics",
    "chainId"
  ]
}