Avalanche · Schema

PrimaryNetworkRpcUsageMetricsResponseDTO

BlockchainWeb3AvalancheNFTDeFiCross-Chain

Properties

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

JSON Schema

PrimaryNetworkRpcUsageMetricsResponseDTO.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/avalanche/main/json-schema/PrimaryNetworkRpcUsageMetricsResponseDTO.json",
  "title": "PrimaryNetworkRpcUsageMetricsResponseDTO",
  "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"
      }
    },
    "network": {
      "type": "string",
      "description": "Network type for which the metrics are aggregated",
      "enum": [
        "mainnet",
        "testnet"
      ],
      "examples": [
        "mainnet"
      ]
    }
  },
  "required": [
    "aggregateDuration",
    "metrics",
    "network"
  ]
}