{
  "components": {
    "headers": {
      "Retry-After": {
        "description": "Seconds to wait before retrying",
        "schema": {
          "type": "integer"
        }
      },
      "X-RateLimit-Limit": {
        "description": "Burst size of the per-IP token bucket",
        "schema": {
          "type": "integer"
        }
      },
      "X-RateLimit-Remaining": {
        "description": "Requests left in the bucket",
        "schema": {
          "type": "integer"
        }
      },
      "X-RateLimit-Reset": {
        "description": "Epoch second when the bucket is full again",
        "schema": {
          "type": "integer"
        }
      }
    },
    "schemas": {
      "Treasuries": {
        "properties": {
          "holders": {
            "description": "Companies and ETFs holding AVAX, in a fixed order.",
            "items": {
              "$ref": "#/components/schemas/TreasuryHolder"
            },
            "type": "array"
          },
          "totals": {
            "$ref": "#/components/schemas/TreasuryTotals"
          },
          "updated_at": {
            "description": "Time of the latest update (UTC).",
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "holders",
          "totals",
          "updated_at"
        ],
        "type": "object"
      },
      "TreasuryHolder": {
        "properties": {
          "as_of": {
            "description": "Date the figure is valid for, as given by the source (UTC). For a report, its reporting date; for CoinGecko, the day it was read.",
            "format": "date",
            "nullable": true,
            "type": "string"
          },
          "aum_usd": {
            "description": "Fund assets as reported by the fund, in USD. Null for companies.",
            "nullable": true,
            "type": "number"
          },
          "avax_held": {
            "description": "AVAX held, in AVAX. For DeFi Technologies this is an estimate from its latest quarterly report: AVAX held directly plus its Fund A stake, minus the AVAX backing its Valour ETPs.",
            "nullable": true,
            "type": "number"
          },
          "exchange": {
            "description": "Listing exchange.",
            "type": "string"
          },
          "id": {
            "description": "Stable holder identifier.",
            "example": "vaneck-vavx",
            "type": "string"
          },
          "kind": {
            "description": "Company treasury or spot ETF.",
            "enum": [
              "treasury",
              "etf"
            ],
            "type": "string"
          },
          "name": {
            "description": "Holder name.",
            "type": "string"
          },
          "nav_per_share": {
            "description": "Net asset value per share, in USD.",
            "nullable": true,
            "type": "number"
          },
          "source": {
            "description": "\"live\": read automatically from the fund or CoinGecko every 6 hours. \"manual\": entered from the holder's latest report.",
            "enum": [
              "live",
              "manual"
            ],
            "type": "string"
          },
          "source_url": {
            "description": "Where the figure comes from.",
            "format": "uri",
            "nullable": true,
            "type": "string"
          },
          "sponsor": {
            "description": "ETF sponsor. Null for companies.",
            "nullable": true,
            "type": "string"
          },
          "sponsor_fee_pct": {
            "description": "Annual sponsor fee, in percent.",
            "nullable": true,
            "type": "number"
          },
          "staking_max_pct": {
            "description": "Most of its AVAX the fund may stake, in percent (0-100).",
            "nullable": true,
            "type": "number"
          },
          "staking_pct": {
            "description": "Share of the fund's AVAX that is staked, in percent (0-100).",
            "nullable": true,
            "type": "number"
          },
          "ticker": {
            "description": "Stock ticker.",
            "type": "string"
          },
          "website_url": {
            "description": "Holder's website.",
            "format": "uri",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "ticker",
          "exchange",
          "kind",
          "sponsor",
          "avax_held",
          "aum_usd",
          "nav_per_share",
          "staking_pct",
          "staking_max_pct",
          "sponsor_fee_pct",
          "as_of",
          "source",
          "source_url",
          "website_url"
        ],
        "type": "object"
      },
      "TreasuryTotals": {
        "properties": {
          "avax_price_usd": {
            "description": "AVAX price, in USD.",
            "nullable": true,
            "type": "number"
          },
          "circulating_supply_avax": {
            "description": "Circulating AVAX supply, in AVAX.",
            "nullable": true,
            "type": "number"
          },
          "circulating_supply_source": {
            "description": "Source of the circulating supply.",
            "enum": [
              "coingecko"
            ],
            "nullable": true,
            "type": "string"
          },
          "combined_avax": {
            "description": "AVAX held by all holders, in AVAX.",
            "type": "number"
          },
          "combined_share_of_circulating_percent": {
            "description": "combined_avax as a share of the circulating supply, in percent (0-100).",
            "nullable": true,
            "type": "number"
          },
          "combined_usd": {
            "description": "combined_avax at avax_price_usd, in USD.",
            "nullable": true,
            "type": "number"
          },
          "etf_avax": {
            "description": "AVAX held by all ETFs, in AVAX.",
            "type": "number"
          },
          "etf_count": {
            "description": "ETFs with a figure.",
            "type": "integer"
          },
          "market_as_of": {
            "description": "Time the price and supply are for (UTC).",
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "treasury_avax": {
            "description": "AVAX held by all company treasuries, in AVAX.",
            "type": "number"
          },
          "treasury_count": {
            "description": "Company treasuries with a figure.",
            "type": "integer"
          }
        },
        "required": [
          "treasury_avax",
          "etf_avax",
          "combined_avax",
          "treasury_count",
          "etf_count",
          "avax_price_usd",
          "circulating_supply_avax",
          "circulating_supply_source",
          "market_as_of",
          "combined_usd",
          "combined_share_of_circulating_percent"
        ],
        "type": "object"
      },
      "api.APIError": {
        "properties": {
          "code": {
            "$ref": "#/components/schemas/api.ErrorCode"
          },
          "details": {
            "type": "string"
          },
          "fields": {
            "items": {
              "$ref": "#/components/schemas/api.FieldError"
            },
            "type": "array"
          },
          "message": {
            "type": "string"
          },
          "retry_after": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.AddressLabel": {
        "properties": {
          "implementation": {
            "example": "0x...",
            "nullable": true,
            "type": "string"
          },
          "is_contract": {
            "example": true,
            "type": "boolean"
          },
          "kind": {
            "example": "router",
            "type": "string"
          },
          "name": {
            "example": "LFJ Router (v1)",
            "type": "string"
          },
          "protocol": {
            "example": "LFJ",
            "nullable": true,
            "type": "string"
          },
          "verified": {
            "example": true,
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "api.AvailableMetric": {
        "properties": {
          "data_points": {
            "example": 365,
            "type": "integer"
          },
          "granularities": {
            "example": [
              "hour",
              "day",
              "week"
            ],
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "latest_period": {
            "type": "string"
          },
          "metric_name": {
            "example": "tx_count",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.Block": {
        "properties": {
          "base_fee_per_gas": {
            "example": 25000000000,
            "type": "integer"
          },
          "block_number": {
            "example": 12345678,
            "type": "integer"
          },
          "block_time": {
            "type": "string"
          },
          "burned": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api.BlockBurn"
              }
            ],
            "nullable": true
          },
          "chain_id": {
            "example": 43114,
            "type": "integer"
          },
          "gas_limit": {
            "example": 8000000,
            "type": "integer"
          },
          "gas_used": {
            "example": 500000,
            "type": "integer"
          },
          "hash": {
            "example": "0x1234...",
            "type": "string"
          },
          "miner": {
            "example": "0x742d35Cc6634C0532925a3b844Bc9e7595f...",
            "type": "string"
          },
          "parent_hash": {
            "example": "0xabcd...",
            "type": "string"
          },
          "size": {
            "example": 1024,
            "type": "integer"
          },
          "tx_count": {
            "example": 150,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.BlockBurn": {
        "properties": {
          "base_fee": {
            "description": "sum(gas_used * base_fee_per_gas)",
            "example": "100000000",
            "type": "string"
          },
          "priority_fee": {
            "description": "total - base",
            "example": "23456789",
            "type": "string"
          },
          "total": {
            "description": "sum(gas_used * gas_price)",
            "example": "123456789",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.BridgeChain": {
        "properties": {
          "avalanche_l1": {
            "type": "boolean"
          },
          "bridges": {
            "description": "Bridges splits the chain's flow by bridge, only bridges that moved\nsomething. Their USD adds up to the chain's.",
            "items": {
              "$ref": "#/components/schemas/api.BridgeDayBridge"
            },
            "type": "array"
          },
          "chain": {
            "description": "key, e.g. ethereum, base, bitcoin",
            "type": "string"
          },
          "flagged_transfers": {
            "type": "integer"
          },
          "inflow_usd": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "net_usd": {
            "description": "inflow - outflow",
            "type": "number"
          },
          "outflow_usd": {
            "type": "number"
          },
          "priced_share": {
            "description": "priced transfers / transfers, 0-1",
            "type": "number"
          },
          "transfers": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.BridgeDayBridge": {
        "properties": {
          "id": {
            "type": "string"
          },
          "inflow_usd": {
            "type": "number"
          },
          "outflow_usd": {
            "type": "number"
          },
          "transfers": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.BridgeOverview": {
        "properties": {
          "as_of": {
            "description": "last complete UTC day, null before the first one",
            "type": "string"
          },
          "by_bridge": {
            "items": {
              "$ref": "#/components/schemas/api.BridgeStats"
            },
            "type": "array"
          },
          "by_chain": {
            "items": {
              "$ref": "#/components/schemas/api.BridgeChain"
            },
            "type": "array"
          },
          "by_token": {
            "items": {
              "$ref": "#/components/schemas/api.BridgeToken"
            },
            "type": "array"
          },
          "days": {
            "type": "integer"
          },
          "flag_threshold_usd": {
            "type": "number"
          },
          "from": {
            "type": "string"
          },
          "totals": {
            "$ref": "#/components/schemas/api.BridgeTotals"
          }
        },
        "type": "object"
      },
      "api.BridgeStats": {
        "properties": {
          "flagged_transfers": {
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "inflow_usd": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "net_usd": {
            "description": "inflow - outflow",
            "type": "number"
          },
          "outflow_usd": {
            "type": "number"
          },
          "priced_share": {
            "description": "priced transfers / transfers, 0-1",
            "type": "number"
          },
          "transfers": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.BridgeToken": {
        "properties": {
          "decimals": {
            "description": "null when unknown",
            "nullable": true,
            "type": "integer"
          },
          "inflow_amount": {
            "description": "token base units",
            "type": "string"
          },
          "inflow_usd": {
            "type": "number"
          },
          "net_usd": {
            "type": "number"
          },
          "outflow_amount": {
            "description": "token base units",
            "type": "string"
          },
          "outflow_usd": {
            "type": "number"
          },
          "priced": {
            "type": "boolean"
          },
          "symbol": {
            "type": "string"
          },
          "token": {
            "type": "string"
          },
          "transfers": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.BridgeTotals": {
        "properties": {
          "flagged_transfers": {
            "type": "integer"
          },
          "inflow_usd": {
            "type": "number"
          },
          "net_usd": {
            "description": "inflow - outflow",
            "type": "number"
          },
          "outflow_usd": {
            "type": "number"
          },
          "passthrough_count": {
            "description": "PassthroughCount is the transactions that bridged in and out again in\none go (e.g. a CCTP mint forwarded straight to another chain). Their legs\nare left out of every figure.",
            "type": "integer"
          },
          "priced_share": {
            "description": "priced transfers / transfers, 0-1",
            "type": "number"
          },
          "transfers": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.BurnedByChain": {
        "properties": {
          "c_chain": {
            "nullable": true,
            "type": "string"
          },
          "p_chain": {
            "nullable": true,
            "type": "string"
          },
          "x_chain": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.ChainInfo": {
        "properties": {
          "active_validators": {
            "nullable": true,
            "type": "integer"
          },
          "categories": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "chain_id": {
            "description": "Chain identity",
            "type": "string"
          },
          "chain_name": {
            "type": "string"
          },
          "chain_type": {
            "type": "string"
          },
          "converted_block": {
            "type": "integer"
          },
          "converted_time": {
            "nullable": true,
            "type": "string"
          },
          "created_block": {
            "description": "Null when the chain's CreateChainTx is not indexed.",
            "nullable": true,
            "type": "integer"
          },
          "created_time": {
            "nullable": true,
            "type": "string"
          },
          "decentralization": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api.Decentralization"
              }
            ],
            "description": "Decentralization summary (compact; only for chains with active L1 validators)",
            "nullable": true
          },
          "description": {
            "type": "string"
          },
          "evm_chain_id": {
            "description": "Extended registry fields",
            "nullable": true,
            "type": "integer"
          },
          "explorer_url": {
            "type": "string"
          },
          "is_active": {
            "description": "Status",
            "type": "boolean"
          },
          "logo_url": {
            "type": "string"
          },
          "name": {
            "description": "Registry metadata",
            "type": "string"
          },
          "network": {
            "type": "string"
          },
          "network_token": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api.NetworkToken"
              }
            ],
            "nullable": true
          },
          "rpc_url": {
            "type": "string"
          },
          "socials": {
            "items": {
              "$ref": "#/components/schemas/api.SocialLink"
            },
            "type": "array"
          },
          "staked_token": {
            "description": "StakedToken is the symbol of the staked token (PoS only).",
            "type": "string"
          },
          "staking_model": {
            "description": "StakingModel is \"pos\", \"poa\" or \"unknown\": from the on-chain\nValidatorManager type, else the registry's sybil_resistance_type, else\n\"pos\" when the registry has a staking factor. The Primary Network is pos.",
            "type": "string"
          },
          "subnet_id": {
            "description": "Parent subnet",
            "type": "string"
          },
          "sybil_resistance_type": {
            "type": "string"
          },
          "total_fees_paid": {
            "nullable": true,
            "type": "integer"
          },
          "total_staked": {
            "description": "raw weight of ACTIVE validators",
            "nullable": true,
            "type": "integer"
          },
          "total_staked_tokens": {
            "description": "TotalStakedTokens is total_staked converted to WHOLE tokens (PoS only;\nomitted for PoA / unresolved chains). Decimal string, full precision.",
            "nullable": true,
            "type": "string"
          },
          "validator_count": {
            "description": "L1 stats (only for L1s)",
            "nullable": true,
            "type": "integer"
          },
          "validator_manager_address": {
            "type": "string"
          },
          "validator_manager_owner": {
            "type": "string"
          },
          "vm_id": {
            "type": "string"
          },
          "website_url": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.ChainMetrics": {
        "properties": {
          "avg_block_time_seconds": {
            "example": 2,
            "type": "number"
          },
          "avg_gas_used": {
            "example": 500000,
            "type": "number"
          },
          "chain_id": {
            "example": 43114,
            "type": "integer"
          },
          "chain_name": {
            "example": "C-Chain",
            "type": "string"
          },
          "last_block_time": {
            "type": "string"
          },
          "latest_block": {
            "example": 12345678,
            "type": "integer"
          },
          "total_blocks": {
            "example": 12345678,
            "type": "integer"
          },
          "total_gas_used": {
            "example": 50000000000000,
            "type": "integer"
          },
          "total_txs": {
            "example": 100000000,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.ChurnInfo": {
        "properties": {
          "max_churn_percentage": {
            "type": "integer"
          },
          "period_seconds": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.DailyFeeBurn": {
        "properties": {
          "active_validators": {
            "example": 5,
            "type": "integer"
          },
          "date": {
            "example": "2025-01-15",
            "type": "string"
          },
          "total_fees_burned": {
            "example": 44236800,
            "type": "integer"
          },
          "validators": {
            "items": {
              "$ref": "#/components/schemas/api.ValidatorDailyFeeBurn"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "api.Decentralization": {
        "properties": {
          "active_validator_count": {
            "type": "integer"
          },
          "nakamoto_33": {
            "description": "min validators controlling more than 1/3 of active weight; null if unknown",
            "nullable": true,
            "type": "integer"
          },
          "nakamoto_50": {
            "description": "min validators controlling more than 1/2 of active weight; null if unknown",
            "nullable": true,
            "type": "integer"
          },
          "total_weight": {
            "description": "sum of active validator weights, raw",
            "type": "string"
          },
          "weights": {
            "description": "active validator weights sorted desc, raw (full detail only)",
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "api.DelegationFees": {
        "properties": {
          "histogram": {
            "items": {
              "$ref": "#/components/schemas/api.FeeBucket"
            },
            "type": "array"
          },
          "median_percent": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "api.DexDay": {
        "properties": {
          "date": {
            "type": "string"
          },
          "dexes": {
            "items": {
              "$ref": "#/components/schemas/api.DexDayDex"
            },
            "type": "array"
          },
          "swaps": {
            "type": "integer"
          },
          "volume_usd": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "api.DexDayDex": {
        "properties": {
          "id": {
            "type": "string"
          },
          "swaps": {
            "type": "integer"
          },
          "volume_usd": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "api.DexOverview": {
        "properties": {
          "as_of": {
            "description": "last complete UTC day, null before the first rollup",
            "type": "string"
          },
          "days": {
            "type": "integer"
          },
          "dexes": {
            "items": {
              "$ref": "#/components/schemas/api.DexStats"
            },
            "type": "array"
          },
          "flag_threshold_usd": {
            "type": "number"
          },
          "from": {
            "type": "string"
          },
          "totals": {
            "$ref": "#/components/schemas/api.DexStats"
          }
        },
        "type": "object"
      },
      "api.DexPool": {
        "properties": {
          "dex": {
            "type": "string"
          },
          "pool": {
            "type": "string"
          },
          "protocol": {
            "type": "string"
          },
          "swaps": {
            "type": "integer"
          },
          "token0": {
            "$ref": "#/components/schemas/api.DexToken"
          },
          "token1": {
            "$ref": "#/components/schemas/api.DexToken"
          },
          "volume_usd": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "api.DexStats": {
        "properties": {
          "flagged_swaps": {
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "priced_share": {
            "description": "priced swaps / swaps, 0-1",
            "type": "number"
          },
          "protocol": {
            "type": "string"
          },
          "swaps": {
            "type": "integer"
          },
          "unique_addresses": {
            "type": "integer"
          },
          "volume_usd": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "api.DexToken": {
        "properties": {
          "address": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.EVMChainStatus": {
        "properties": {
          "blocks_behind": {
            "example": 22,
            "type": "integer"
          },
          "chain_id": {
            "example": 43114,
            "type": "integer"
          },
          "current_block": {
            "example": 12345678,
            "type": "integer"
          },
          "is_synced": {
            "example": true,
            "type": "boolean"
          },
          "last_sync": {
            "type": "string"
          },
          "latest_block": {
            "example": 12345700,
            "type": "integer"
          },
          "name": {
            "example": "C-Chain",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.EconomicSecurity": {
        "properties": {
          "cost_to_control_33_usd": {
            "nullable": true,
            "type": "number"
          },
          "staking_token": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api.NetworkToken"
              }
            ],
            "nullable": true
          },
          "total_stake_raw": {
            "description": "not populated yet (always empty)",
            "type": "string"
          },
          "total_stake_usd": {
            "nullable": true,
            "type": "number"
          }
        },
        "type": "object"
      },
      "api.ErrorCode": {
        "description": "INVALID_PARAMETER (400), NOT_FOUND (404), RATE_LIMITED (429), INTERNAL_ERROR (500)",
        "enum": [
          "INVALID_PARAMETER",
          "NOT_FOUND",
          "INTERNAL_ERROR",
          "RATE_LIMITED",
          "VALIDATION_FAILED",
          "DATABASE_ERROR"
        ],
        "type": "string",
        "x-enum-varnames": [
          "ErrInvalidParameter",
          "ErrNotFound",
          "ErrInternalError",
          "ErrRateLimited",
          "ErrValidationFailed",
          "ErrDatabaseError"
        ]
      },
      "api.ErrorResponse": {
        "properties": {
          "error": {
            "$ref": "#/components/schemas/api.APIError"
          }
        },
        "type": "object"
      },
      "api.FeeBucket": {
        "properties": {
          "label": {
            "type": "string"
          },
          "max_percent": {
            "nullable": true,
            "type": "number"
          },
          "min_percent": {
            "type": "number"
          },
          "total_stake": {
            "description": "nAVAX, own + delegated",
            "type": "string"
          },
          "validator_count": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.FeeBurnPoint": {
        "properties": {
          "base_fee_burned": {
            "description": "nAVAX",
            "example": "100000000",
            "type": "string"
          },
          "period": {
            "type": "string"
          },
          "priority_fee_burned": {
            "description": "nAVAX",
            "example": "23456789",
            "type": "string"
          },
          "total_burned": {
            "description": "nAVAX",
            "example": "123456789",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.FeeBurnResponse": {
        "properties": {
          "chain_id": {
            "example": 43114,
            "type": "integer"
          },
          "cumulative": {
            "$ref": "#/components/schemas/api.FeeBurnTotals"
          },
          "granularity": {
            "example": "day",
            "type": "string"
          },
          "series": {
            "items": {
              "$ref": "#/components/schemas/api.FeeBurnPoint"
            },
            "type": "array"
          },
          "unit": {
            "example": "nAVAX",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.FeeBurnTotals": {
        "properties": {
          "base_fee_burned": {
            "description": "nAVAX",
            "type": "string"
          },
          "priority_fee_burned": {
            "description": "nAVAX",
            "type": "string"
          },
          "total_burned": {
            "description": "nAVAX",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.FeeStats": {
        "properties": {
          "current_balance": {
            "example": 85000000000,
            "type": "integer"
          },
          "deposit_tx_count": {
            "example": 15,
            "type": "integer"
          },
          "initial_deposits": {
            "example": 80000000000,
            "type": "integer"
          },
          "subnet_id": {
            "example": "2XDnKyAEr...",
            "type": "string"
          },
          "top_up_deposits": {
            "example": 20000000000,
            "type": "integer"
          },
          "total_deposited": {
            "example": 100000000000,
            "type": "integer"
          },
          "total_fees_paid": {
            "example": 5000000000,
            "type": "integer"
          },
          "total_refunded": {
            "example": 10000000000,
            "type": "integer"
          },
          "validator_count": {
            "example": 5,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.FieldError": {
        "properties": {
          "field": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.GenesisAllocation": {
        "properties": {
          "address": {
            "description": "Address is the bech32 AVAX address without a chain prefix: the unlocked\namount was created on the X-Chain and the locked tranches on the P-Chain.",
            "type": "string"
          },
          "eth_address": {
            "type": "string"
          },
          "index": {
            "description": "position in the genesis config",
            "type": "integer"
          },
          "initially_staked": {
            "type": "boolean"
          },
          "total": {
            "description": "nAVAX",
            "type": "string"
          },
          "unlock_schedule": {
            "description": "UnlockSchedule was locked on the P-Chain until each unlock time. For an\ninitially staked address these tranches were staked by the genesis\nvalidators instead.",
            "items": {
              "$ref": "#/components/schemas/api.GenesisUnlock"
            },
            "type": "array"
          },
          "x_chain_amount": {
            "description": "XChainAmount was spendable on the X-Chain at genesis.",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.GenesisOverview": {
        "properties": {
          "avax_asset_id": {
            "type": "string"
          },
          "c_chain_genesis": {
            "type": "object"
          },
          "c_chain_id": {
            "type": "string"
          },
          "initial_stake_duration_seconds": {
            "type": "integer"
          },
          "initial_validators": {
            "items": {
              "$ref": "#/components/schemas/api.GenesisValidator"
            },
            "type": "array"
          },
          "initially_staked_addresses": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "message": {
            "type": "string"
          },
          "network_id": {
            "type": "integer"
          },
          "p_chain_genesis_block_id": {
            "type": "string"
          },
          "start_time": {
            "type": "string"
          },
          "supply": {
            "$ref": "#/components/schemas/api.GenesisSupply"
          },
          "unlock_schedule": {
            "items": {
              "$ref": "#/components/schemas/api.GenesisUnlockBucket"
            },
            "type": "array"
          },
          "x_chain_id": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.GenesisSupply": {
        "properties": {
          "allocation_count": {
            "type": "integer"
          },
          "initially_staked": {
            "description": "staked by the genesis validators",
            "type": "string"
          },
          "initially_staked_address_count": {
            "type": "integer"
          },
          "p_chain_locked": {
            "description": "locked on the P-Chain until each tranche's unlock time",
            "type": "string"
          },
          "total": {
            "description": "nAVAX",
            "type": "string"
          },
          "x_chain_unlocked": {
            "description": "spendable on the X-Chain at genesis",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.GenesisUnlock": {
        "properties": {
          "amount": {
            "description": "nAVAX",
            "type": "string"
          },
          "unlock_time": {
            "description": "locked on the P-Chain until this time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.GenesisUnlockBucket": {
        "properties": {
          "amount": {
            "description": "nAVAX",
            "type": "string"
          },
          "unlock_time": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.GenesisValidator": {
        "properties": {
          "delegation_fee_percent": {
            "type": "number"
          },
          "end_time": {
            "type": "string"
          },
          "node_id": {
            "type": "string"
          },
          "reward_address": {
            "type": "string"
          },
          "start_time": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.HealthStatus": {
        "properties": {
          "database": {
            "example": "connected",
            "type": "string"
          },
          "status": {
            "example": "healthy",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.ICMApp": {
        "properties": {
          "address": {
            "type": "string"
          },
          "first_seen": {
            "description": "all time, not just the window",
            "type": "string"
          },
          "kind": {
            "description": "ictt-home, ictt-remote or other",
            "type": "string"
          },
          "label": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api.AddressLabel"
              }
            ],
            "nullable": true
          },
          "last_seen": {
            "type": "string"
          },
          "name": {
            "description": "label name, else e.g. \"XOM ICTT remote\", else empty",
            "type": "string"
          },
          "received": {
            "description": "received on the C-Chain",
            "type": "integer"
          },
          "sent": {
            "description": "sent from the C-Chain",
            "type": "integer"
          },
          "token": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api.ICMToken"
              }
            ],
            "description": "ICTT apps only",
            "nullable": true
          },
          "top_chains": {
            "description": "busiest other chains in the window, up to 5",
            "items": {
              "$ref": "#/components/schemas/api.ICMChain"
            },
            "type": "array"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.ICMAppDay": {
        "properties": {
          "address": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "received": {
            "description": "received on the C-Chain",
            "type": "integer"
          },
          "sent": {
            "description": "sent from the C-Chain",
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.ICMAppRef": {
        "properties": {
          "kind": {
            "type": "string"
          },
          "label": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api.AddressLabel"
              }
            ],
            "nullable": true
          },
          "name": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.ICMApps": {
        "properties": {
          "apps": {
            "items": {
              "$ref": "#/components/schemas/api.ICMApp"
            },
            "type": "array"
          },
          "as_of": {
            "description": "last complete UTC day, null before the first one",
            "type": "string"
          },
          "days": {
            "type": "integer"
          },
          "from": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.ICMChain": {
        "properties": {
          "blockchain_id": {
            "description": "CB58",
            "type": "string"
          },
          "name": {
            "description": "from the L1 registry, empty when unlisted",
            "type": "string"
          },
          "received": {
            "description": "received on the C-Chain",
            "type": "integer"
          },
          "sent": {
            "description": "sent from the C-Chain",
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.ICMChainRef": {
        "properties": {
          "blockchain_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.ICMChainValue": {
        "properties": {
          "blockchain_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "received_usd": {
            "type": "number"
          },
          "sent_usd": {
            "type": "number"
          },
          "total_usd": {
            "type": "number"
          },
          "transfers": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.ICMCounts": {
        "properties": {
          "received": {
            "description": "received on the C-Chain",
            "type": "integer"
          },
          "sent": {
            "description": "sent from the C-Chain",
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.ICMDay": {
        "properties": {
          "by_app": {
            "description": "with by_app=true, left out on quiet days",
            "items": {
              "$ref": "#/components/schemas/api.ICMAppDay"
            },
            "type": "array"
          },
          "by_chain": {
            "items": {
              "$ref": "#/components/schemas/api.ICMChain"
            },
            "type": "array"
          },
          "date": {
            "type": "string"
          },
          "received": {
            "description": "received on the C-Chain",
            "type": "integer"
          },
          "sent": {
            "description": "sent from the C-Chain",
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.ICMICTTValue": {
        "properties": {
          "amount_raw": {
            "description": "as encoded in the message, before any decimals scaling between home and remote",
            "type": "string"
          },
          "recipient": {
            "type": "string"
          },
          "token": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api.ICMToken"
              }
            ],
            "nullable": true
          },
          "type": {
            "description": "single_hop_send, single_hop_call, multi_hop_send, multi_hop_call, register_remote",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.ICMMessage": {
        "properties": {
          "app": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api.ICMAppRef"
              }
            ],
            "nullable": true
          },
          "block_number": {
            "type": "integer"
          },
          "block_time": {
            "type": "string"
          },
          "counterparty": {
            "$ref": "#/components/schemas/api.ICMChainRef"
          },
          "deliverer": {
            "description": "receives only: the relayer",
            "nullable": true,
            "type": "string"
          },
          "direction": {
            "description": "sent (from the C-Chain) or received (on it)",
            "type": "string"
          },
          "executed": {
            "description": "receives only: MessageExecuted seen, on receipt or a retry",
            "nullable": true,
            "type": "boolean"
          },
          "fee_amount": {
            "description": "sends only, in fee token units",
            "nullable": true,
            "type": "string"
          },
          "fee_token": {
            "description": "sends only",
            "nullable": true,
            "type": "string"
          },
          "ictt": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api.ICMICTTValue"
              }
            ],
            "description": "ICTT apps only",
            "nullable": true
          },
          "local_address": {
            "description": "C-Chain contract: originSenderAddress for sends, destinationAddress for receives",
            "type": "string"
          },
          "message_id": {
            "type": "string"
          },
          "remote_address": {
            "description": "L1 address: destinationAddress for sends, originSenderAddress for receives",
            "type": "string"
          },
          "required_gas_limit": {
            "type": "integer"
          },
          "reward_redeemer": {
            "nullable": true,
            "type": "string"
          },
          "tx_hash": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.ICMOverview": {
        "properties": {
          "as_of": {
            "description": "last complete UTC day, null before the first one",
            "type": "string"
          },
          "by_chain": {
            "items": {
              "$ref": "#/components/schemas/api.ICMChain"
            },
            "type": "array"
          },
          "days": {
            "type": "integer"
          },
          "from": {
            "type": "string"
          },
          "totals": {
            "$ref": "#/components/schemas/api.ICMCounts"
          }
        },
        "type": "object"
      },
      "api.ICMToken": {
        "properties": {
          "address": {
            "type": "string"
          },
          "decimals": {
            "type": "integer"
          },
          "symbol": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.ICMTokenValue": {
        "properties": {
          "priced": {
            "description": "a stablecoin or a price-feed token, matched by address",
            "type": "boolean"
          },
          "received_amount": {
            "description": "C-Chain token base units",
            "type": "string"
          },
          "received_usd": {
            "nullable": true,
            "type": "number"
          },
          "sent_amount": {
            "description": "C-Chain token base units",
            "type": "string"
          },
          "sent_usd": {
            "nullable": true,
            "type": "number"
          },
          "token": {
            "$ref": "#/components/schemas/api.ICMToken"
          },
          "transfers": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.ICMTransfer": {
        "properties": {
          "amount": {
            "description": "C-Chain base units, null when the home's scaling is unknown",
            "nullable": true,
            "type": "string"
          },
          "app": {
            "type": "string"
          },
          "app_name": {
            "type": "string"
          },
          "block_time": {
            "type": "string"
          },
          "counterparty": {
            "$ref": "#/components/schemas/api.ICMChainRef"
          },
          "direction": {
            "type": "string"
          },
          "message_id": {
            "type": "string"
          },
          "recipient": {
            "type": "string"
          },
          "token": {
            "$ref": "#/components/schemas/api.ICMToken"
          },
          "tx_hash": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "usd": {
            "nullable": true,
            "type": "number"
          }
        },
        "type": "object"
      },
      "api.ICMValue": {
        "properties": {
          "as_of": {
            "description": "last complete UTC day, null before the first one",
            "type": "string"
          },
          "by_chain": {
            "items": {
              "$ref": "#/components/schemas/api.ICMChainValue"
            },
            "type": "array"
          },
          "by_token": {
            "items": {
              "$ref": "#/components/schemas/api.ICMTokenValue"
            },
            "type": "array"
          },
          "days": {
            "type": "integer"
          },
          "from": {
            "type": "string"
          },
          "totals": {
            "$ref": "#/components/schemas/api.ICMValueStats"
          }
        },
        "type": "object"
      },
      "api.ICMValueDay": {
        "properties": {
          "by_token": {
            "items": {
              "$ref": "#/components/schemas/api.ICMValueDayToken"
            },
            "type": "array"
          },
          "date": {
            "type": "string"
          },
          "received_usd": {
            "type": "number"
          },
          "sent_usd": {
            "type": "number"
          },
          "total_usd": {
            "type": "number"
          },
          "transfers": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.ICMValueDayToken": {
        "properties": {
          "address": {
            "type": "string"
          },
          "received_usd": {
            "nullable": true,
            "type": "number"
          },
          "sent_usd": {
            "nullable": true,
            "type": "number"
          },
          "symbol": {
            "type": "string"
          },
          "transfers": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.ICMValueStats": {
        "properties": {
          "priced_transfers": {
            "type": "integer"
          },
          "received_usd": {
            "type": "number"
          },
          "sent_usd": {
            "type": "number"
          },
          "total_usd": {
            "type": "number"
          },
          "transfers": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.IndexerStatus": {
        "properties": {
          "evm": {
            "items": {
              "$ref": "#/components/schemas/api.EVMChainStatus"
            },
            "type": "array"
          },
          "healthy": {
            "example": true,
            "type": "boolean"
          },
          "last_update": {
            "type": "string"
          },
          "pchain": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api.PChainStatus"
              }
            ],
            "nullable": true
          }
        },
        "type": "object"
      },
      "api.InternalTransaction": {
        "properties": {
          "block_number": {
            "example": 12345678,
            "type": "integer"
          },
          "block_time": {
            "type": "string"
          },
          "call_type": {
            "example": "CALL",
            "type": "string"
          },
          "from": {
            "example": "0x742d35Cc...",
            "type": "string"
          },
          "gas_used": {
            "example": 21000,
            "type": "integer"
          },
          "success": {
            "example": true,
            "type": "boolean"
          },
          "to": {
            "description": "null for CREATE",
            "example": "0x123...",
            "nullable": true,
            "type": "string"
          },
          "trace_index": {
            "description": "Path in call tree",
            "example": "0,1,2",
            "type": "string"
          },
          "tx_hash": {
            "example": "0x1234...",
            "type": "string"
          },
          "value": {
            "description": "wei",
            "example": "1000000000000000000",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.L1Registry": {
        "properties": {
          "description": {
            "example": "A high-performance L1",
            "type": "string"
          },
          "logo_url": {
            "example": "https://example.com/logo.png",
            "type": "string"
          },
          "name": {
            "example": "My L1",
            "type": "string"
          },
          "subnet_id": {
            "example": "2XDnKyAEr...",
            "type": "string"
          },
          "website_url": {
            "example": "https://example.com",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.LendingAssetFlow": {
        "properties": {
          "borrowed": {
            "description": "wei (18 decimals)",
            "type": "string"
          },
          "protocol_id": {
            "type": "string"
          },
          "supplied": {
            "description": "wei (18 decimals)",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.LendingAssetSummary": {
        "properties": {
          "borrowed": {
            "description": "wei (18 decimals)",
            "type": "string"
          },
          "by_protocol": {
            "items": {
              "$ref": "#/components/schemas/api.LendingAssetFlow"
            },
            "type": "array"
          },
          "share_of_savax_supply_percent": {
            "nullable": true,
            "type": "number"
          },
          "supplied": {
            "description": "wei (18 decimals)",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.LendingEModeCategory": {
        "properties": {
          "borrowable_assets": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "collateral_assets": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "liquidation_bonus_percent": {
            "nullable": true,
            "type": "number"
          },
          "liquidation_threshold_percent": {
            "nullable": true,
            "type": "number"
          },
          "ltv_percent": {
            "nullable": true,
            "type": "number"
          },
          "ltv_zero_assets": {
            "description": "collateral assets with effective LTV 0 in the group",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "protocol_id": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.LendingMarket": {
        "properties": {
          "asset": {
            "description": "underlying token, 0x00..00 for native AVAX",
            "type": "string"
          },
          "borrow_apy_percent": {
            "type": "number"
          },
          "borrow_cap": {
            "description": "token base units, null when uncapped",
            "nullable": true,
            "type": "string"
          },
          "borrowed_usd": {
            "nullable": true,
            "type": "number"
          },
          "collateral_enabled": {
            "nullable": true,
            "type": "boolean"
          },
          "decimals": {
            "type": "integer"
          },
          "emode": {
            "description": "EMode lists the Aave V3 E-Mode categories, or Aave V4 spokes, that\ninclude the asset. Empty when none (always for BENQI).",
            "items": {
              "$ref": "#/components/schemas/api.LendingMarketEMode"
            },
            "type": "array"
          },
          "liquidation_threshold_percent": {
            "nullable": true,
            "type": "number"
          },
          "ltv_changed_at": {
            "description": "LTVChangedAt is when ltv_percent took its current value, and LTVChangedTx\nthe config transaction. Null when unchanged since listing, when not dated\nyet, and where the market has no LTV (Aave V4).",
            "nullable": true,
            "type": "string"
          },
          "ltv_changed_tx": {
            "nullable": true,
            "type": "string"
          },
          "ltv_percent": {
            "nullable": true,
            "type": "number"
          },
          "market": {
            "description": "Aave V3 Pool, BENQI qiToken, Aave V4 Hub",
            "type": "string"
          },
          "price_usd": {
            "nullable": true,
            "type": "number"
          },
          "protocol_id": {
            "type": "string"
          },
          "sampled_at": {
            "type": "string"
          },
          "supplied_usd": {
            "nullable": true,
            "type": "number"
          },
          "supply_apy_percent": {
            "type": "number"
          },
          "supply_cap": {
            "description": "token base units, null when uncapped",
            "nullable": true,
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "total_borrowed": {
            "description": "token base units",
            "type": "string"
          },
          "total_supplied": {
            "description": "token base units",
            "type": "string"
          },
          "utilization_percent": {
            "description": "null when nothing is supplied",
            "nullable": true,
            "type": "number"
          }
        },
        "type": "object"
      },
      "api.LendingMarketEMode": {
        "properties": {
          "as_collateral": {
            "type": "boolean"
          },
          "borrowable": {
            "type": "boolean"
          },
          "configured_ltv_percent": {
            "description": "the group's LTV before any LTV-zero",
            "type": "number"
          },
          "id": {
            "description": "V3 category id, V4 spoke address",
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "liquidation_bonus_percent": {
            "description": "above 100%, 1 = 1%",
            "type": "number"
          },
          "liquidation_threshold_percent": {
            "type": "number"
          },
          "ltv_changed_at": {
            "description": "LTVChangedAt is when a V4 spoke entry's LTV took its current value (the\ndynamic config that set it), LTVChangedTx its transaction. Null for V3\ncategories, when unchanged since listing, and when not dated yet.",
            "nullable": true,
            "type": "string"
          },
          "ltv_changed_tx": {
            "nullable": true,
            "type": "string"
          },
          "ltv_percent": {
            "description": "effective, 0 when LTV-zeroed",
            "type": "number"
          },
          "previous_ltv_percent": {
            "description": "V4: config before the current one, kept by older positions",
            "nullable": true,
            "type": "number"
          }
        },
        "type": "object"
      },
      "api.LendingOverview": {
        "properties": {
          "emode_categories": {
            "items": {
              "$ref": "#/components/schemas/api.LendingEModeCategory"
            },
            "type": "array"
          },
          "markets": {
            "items": {
              "$ref": "#/components/schemas/api.LendingMarket"
            },
            "type": "array"
          },
          "protocols": {
            "items": {
              "$ref": "#/components/schemas/api.LendingProtocol"
            },
            "type": "array"
          },
          "sampled_at": {
            "nullable": true,
            "type": "string"
          },
          "summary": {
            "$ref": "#/components/schemas/api.LendingSummary"
          }
        },
        "type": "object"
      },
      "api.LendingProtocol": {
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.LendingSummary": {
        "properties": {
          "avax": {
            "$ref": "#/components/schemas/api.LendingAssetSummary"
          },
          "savax": {
            "$ref": "#/components/schemas/api.LendingAssetSummary"
          },
          "totals": {
            "$ref": "#/components/schemas/api.LendingTotals"
          }
        },
        "type": "object"
      },
      "api.LendingTotals": {
        "properties": {
          "borrowed_usd": {
            "type": "number"
          },
          "by_protocol": {
            "items": {
              "$ref": "#/components/schemas/api.LendingUSDTotal"
            },
            "type": "array"
          },
          "supplied_usd": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "api.LendingUSDTotal": {
        "properties": {
          "borrowed_usd": {
            "type": "number"
          },
          "protocol_id": {
            "type": "string"
          },
          "supplied_usd": {
            "type": "number"
          },
          "unpriced_markets": {
            "description": "UnpricedMarkets counts markets with a supply but no oracle price, which\nare left out of the USD sums.",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.LiquidStakingOverview": {
        "properties": {
          "network_delegated_stake": {
            "description": "nAVAX, all Primary Network delegations",
            "type": "string"
          },
          "protocols": {
            "items": {
              "$ref": "#/components/schemas/api.LiquidStakingProtocol"
            },
            "type": "array"
          },
          "totals": {
            "$ref": "#/components/schemas/api.LiquidStakingTotals"
          }
        },
        "type": "object"
      },
      "api.LiquidStakingProtocol": {
        "properties": {
          "active_delegated": {
            "description": "nAVAX",
            "nullable": true,
            "type": "string"
          },
          "active_delegations": {
            "nullable": true,
            "type": "integer"
          },
          "as_of": {
            "nullable": true,
            "type": "string"
          },
          "attribution": {
            "description": "confirmed | unconfirmed",
            "type": "string"
          },
          "exchange_rate": {
            "description": "AVAX per token",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "p_chain_addresses": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "pooled_avax": {
            "description": "nAVAX",
            "nullable": true,
            "type": "string"
          },
          "share_of_delegated_percent": {
            "nullable": true,
            "type": "number"
          },
          "status": {
            "description": "live | ended",
            "type": "string"
          },
          "token_contract": {
            "description": "C-Chain",
            "type": "string"
          },
          "token_decimals": {
            "type": "integer"
          },
          "token_supply": {
            "description": "token base units",
            "nullable": true,
            "type": "string"
          },
          "token_symbol": {
            "type": "string"
          },
          "validator_count": {
            "nullable": true,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.LiquidStakingTotals": {
        "properties": {
          "active_delegated": {
            "description": "nAVAX",
            "type": "string"
          },
          "active_delegations": {
            "type": "integer"
          },
          "pooled_avax": {
            "description": "nAVAX",
            "type": "string"
          },
          "share_of_delegated_percent": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "api.Meta": {
        "properties": {
          "has_more": {
            "type": "boolean"
          },
          "limit": {
            "type": "integer"
          },
          "next_cursor": {
            "type": "string"
          },
          "offset": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.MetricDataPoint": {
        "properties": {
          "period": {
            "type": "string"
          },
          "value": {
            "example": 1234567,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.MetricSeries": {
        "properties": {
          "chain_id": {
            "example": 43114,
            "type": "integer"
          },
          "data": {
            "items": {
              "$ref": "#/components/schemas/api.MetricDataPoint"
            },
            "type": "array"
          },
          "granularity": {
            "example": "day",
            "type": "string"
          },
          "metric_name": {
            "example": "tx_count",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.MultisigInfo": {
        "properties": {
          "owners": {
            "type": "integer"
          },
          "threshold": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.NativeBalance": {
        "properties": {
          "balance": {
            "description": "wei",
            "example": "499979000000000000",
            "type": "string"
          },
          "first_tx_time": {
            "nullable": true,
            "type": "string"
          },
          "last_tx_time": {
            "nullable": true,
            "type": "string"
          },
          "last_updated_block": {
            "example": 77048918,
            "type": "integer"
          },
          "total_gas": {
            "description": "wei spent on gas",
            "example": "21000000000000",
            "type": "string"
          },
          "total_in": {
            "description": "wei",
            "example": "1000000000000000000",
            "type": "string"
          },
          "total_out": {
            "description": "wei",
            "example": "500000000000000000",
            "type": "string"
          },
          "tx_count": {
            "example": 788432,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.NetworkBurnedTotal": {
        "properties": {
          "by_chain": {
            "$ref": "#/components/schemas/api.BurnedByChain"
          },
          "total_burned": {
            "description": "nAVAX",
            "example": "5013452000000000",
            "type": "string"
          },
          "unit": {
            "example": "nAVAX",
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.NetworkToken": {
        "properties": {
          "decimals": {
            "type": "integer"
          },
          "logo_uri": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.OwnerInfo": {
        "properties": {
          "address": {
            "type": "string"
          },
          "kind": {
            "description": "\"eoa\" | \"multisig\" | \"timelock\" | \"dao\" | \"contract\" | \"unknown\"",
            "type": "string"
          },
          "multisig": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api.MultisigInfo"
              }
            ],
            "nullable": true
          }
        },
        "type": "object"
      },
      "api.PChainBlock": {
        "properties": {
          "block_hash": {
            "example": "2ZW6HUePB...",
            "type": "string"
          },
          "block_number": {
            "example": 24160141,
            "type": "integer"
          },
          "block_time": {
            "type": "string"
          },
          "block_type": {
            "type": "string"
          },
          "parent_id": {
            "description": "Proposer / parent info (only populated on the single-block endpoint).",
            "type": "string"
          },
          "proposer_id": {
            "type": "string"
          },
          "proposer_node_id": {
            "type": "string"
          },
          "tx_count": {
            "example": 3,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.PChainStats": {
        "properties": {
          "active_chains": {
            "example": 58,
            "type": "integer"
          },
          "active_l1_subnets": {
            "example": 42,
            "type": "integer"
          },
          "active_legacy_subnets": {
            "example": 15,
            "type": "integer"
          },
          "active_validators": {
            "example": 1200,
            "type": "integer"
          },
          "recent_transactions": {
            "example": 34000,
            "type": "integer"
          },
          "total_l1_fees_paid": {
            "example": 5000000000,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.PChainStatus": {
        "properties": {
          "blocks_behind": {
            "example": 59,
            "type": "integer"
          },
          "current_block": {
            "example": 24160141,
            "type": "integer"
          },
          "is_synced": {
            "example": true,
            "type": "boolean"
          },
          "last_sync": {
            "type": "string"
          },
          "latest_block": {
            "example": 24160200,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.PChainTx": {
        "properties": {
          "block_number": {
            "example": 12345678,
            "type": "integer"
          },
          "block_time": {
            "type": "string"
          },
          "tx_data": {
            "additionalProperties": true,
            "type": "object"
          },
          "tx_id": {
            "example": "2ZW6HUePB...",
            "type": "string"
          },
          "tx_type": {
            "example": "ConvertSubnetToL1",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.PerpOverview": {
        "properties": {
          "as_of": {
            "description": "last complete UTC day, null before the first one",
            "type": "string"
          },
          "by_venue": {
            "items": {
              "$ref": "#/components/schemas/api.PerpStats"
            },
            "type": "array"
          },
          "days": {
            "type": "integer"
          },
          "from": {
            "type": "string"
          },
          "totals": {
            "$ref": "#/components/schemas/api.PerpStats"
          }
        },
        "type": "object"
      },
      "api.PerpStats": {
        "properties": {
          "fees_usd": {
            "type": "number"
          },
          "id": {
            "type": "string"
          },
          "liquidated_usd": {
            "type": "number"
          },
          "liquidations": {
            "type": "integer"
          },
          "long_volume_usd": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "short_volume_usd": {
            "type": "number"
          },
          "traders": {
            "type": "integer"
          },
          "trades": {
            "type": "integer"
          },
          "volume_usd": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "api.ProxyInfo": {
        "properties": {
          "implementation": {
            "type": "string"
          },
          "is_proxy": {
            "type": "boolean"
          },
          "proxy_admin": {
            "type": "string"
          },
          "proxy_admin_owner": {
            "type": "string"
          },
          "upgrade_delay_seconds": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.Response": {
        "properties": {
          "data": {},
          "meta": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api.Meta"
              }
            ],
            "nullable": true
          }
        },
        "type": "object"
      },
      "api.RestakingCollateral": {
        "properties": {
          "address": {
            "description": "underlying token, C-Chain",
            "type": "string"
          },
          "decimals": {
            "type": "integer"
          },
          "symbol": {
            "type": "string"
          },
          "wrapper": {
            "description": "vault collateral() token, equal to address when unwrapped",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.RestakingL1": {
        "properties": {
          "active_validators": {
            "type": "integer"
          },
          "balancer": {
            "type": "string"
          },
          "blockchain_id": {
            "nullable": true,
            "type": "string"
          },
          "is_active": {
            "description": "IsActive and ActiveValidators use the /data/chains definition: L1\nvalidators with a P-Chain balance.",
            "type": "boolean"
          },
          "middleware": {
            "type": "string"
          },
          "module_weight": {
            "description": "middleware's weight in the balancer",
            "example": "0",
            "type": "string"
          },
          "operator_count": {
            "type": "integer"
          },
          "protocol_id": {
            "type": "string"
          },
          "restaked_validators": {
            "type": "integer"
          },
          "restaked_weight": {
            "description": "RestakedWeight is the P-Chain weight of active validators registered by\nthe middleware, TotalWeight that of all active validators. Weights are\nencoded as strings: some L1s use weights near the uint64 range, past what\nJavaScript numbers hold exactly.",
            "example": "0",
            "type": "string"
          },
          "sampled_at": {
            "type": "string"
          },
          "share_of_weight_percent": {
            "description": "null when no active weight",
            "nullable": true,
            "type": "number"
          },
          "subnet_id": {
            "type": "string"
          },
          "total_pchain_weight": {
            "description": "decimal string, the L1's own weight units (not AVAX)",
            "example": "0",
            "type": "string"
          },
          "vaults": {
            "items": {
              "$ref": "#/components/schemas/api.RestakingVault"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "api.RestakingOverview": {
        "properties": {
          "l1s": {
            "items": {
              "$ref": "#/components/schemas/api.RestakingL1"
            },
            "type": "array"
          },
          "protocols": {
            "items": {
              "$ref": "#/components/schemas/api.RestakingProtocol"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "api.RestakingProtocol": {
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.RestakingVault": {
        "properties": {
          "address": {
            "type": "string"
          },
          "allocated": {
            "description": "delegated to the L1's operators",
            "type": "string"
          },
          "collateral": {
            "$ref": "#/components/schemas/api.RestakingCollateral"
          },
          "deposited": {
            "description": "activeStake()",
            "type": "string"
          },
          "idle": {
            "description": "deposited - allocated",
            "type": "string"
          },
          "limit": {
            "description": "l1Limit, cap on allocation to this L1",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.RiskResponse": {
        "properties": {
          "chain_id": {
            "type": "string"
          },
          "decentralization": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api.Decentralization"
              }
            ],
            "nullable": true
          },
          "economic": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api.EconomicSecurity"
              }
            ],
            "nullable": true
          },
          "updated_at": {
            "type": "string"
          },
          "validator_manager": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api.ValidatorManagerRisk"
              }
            ],
            "nullable": true
          }
        },
        "type": "object"
      },
      "api.SecurityModule": {
        "properties": {
          "address": {
            "type": "string"
          },
          "kind": {
            "description": "\"poa\" | \"suzaku_middleware\" | \"unknown\"",
            "type": "string"
          },
          "max_weight": {
            "type": "integer"
          },
          "owner": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api.OwnerInfo"
              }
            ],
            "nullable": true
          },
          "weight": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.SocialLink": {
        "properties": {
          "name": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.Stablecoin": {
        "properties": {
          "bridged": {
            "example": false,
            "type": "boolean"
          },
          "category": {
            "description": "Category is \"stablecoin\" on /stablecoins, \"tokenized_fund\" on\n/tokenized-funds (fund shares such as BUIDL and JAAA), and\n\"tokenized_fund\", \"equity\" (company shares such as SECZ) or \"commodity\"\n(such as gold token XAUt0) on /rwa.",
            "enum": [
              "stablecoin",
              "tokenized_fund",
              "equity",
              "commodity"
            ],
            "example": "stablecoin",
            "type": "string"
          },
          "decimals": {
            "example": 6,
            "type": "integer"
          },
          "doublecounted": {
            "description": "Doublecounted marks stablecoins whose reserves are themselves other counted\nstablecoins (e.g. avUSD, UTY, reUSD, FRXUSD). Sum all rows for the GROSS total;\nexclude doublecounted rows for the NET total (the DeFiLlama-style headline).",
            "example": false,
            "type": "boolean"
          },
          "holders": {
            "example": 128453,
            "type": "integer"
          },
          "issuer": {
            "example": "Circle",
            "type": "string"
          },
          "name": {
            "example": "USD Coin",
            "type": "string"
          },
          "peg": {
            "description": "Peg is the currency a unit tracks. On /tokenized-funds it is \"USD\" for\n$1-per-share money-market funds and \"NAV\" for floating-NAV funds (credit or\nCLO funds such as ACRED and JAAA), whose share price the API does not carry.",
            "example": "USD",
            "type": "string"
          },
          "supply": {
            "description": "token base units, circulating",
            "example": "459300000000000",
            "type": "string"
          },
          "symbol": {
            "example": "USDC",
            "type": "string"
          },
          "token": {
            "example": "0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e",
            "type": "string"
          },
          "transfers_24h": {
            "example": 58210,
            "type": "integer"
          },
          "volume_24h": {
            "description": "token base units",
            "example": "32100000000000",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.StablecoinMetricDataPoint": {
        "properties": {
          "period": {
            "type": "string"
          },
          "value": {
            "description": "token base units for supply and volume, a count for transfers and holders",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.StablecoinMetricSeries": {
        "properties": {
          "chain_id": {
            "type": "integer"
          },
          "data": {
            "items": {
              "$ref": "#/components/schemas/api.StablecoinMetricDataPoint"
            },
            "type": "array"
          },
          "granularity": {
            "type": "string"
          },
          "metric_name": {
            "type": "string"
          },
          "token": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.StakeConcentration": {
        "properties": {
          "nakamoto_33": {
            "description": "fewest validators holding more than 1/3 of total stake",
            "type": "integer"
          },
          "nakamoto_50": {
            "description": "fewest validators holding more than 1/2 of total stake",
            "type": "integer"
          },
          "top100_percent": {
            "type": "number"
          },
          "top10_percent": {
            "type": "number"
          },
          "top50_percent": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "api.StakingSummary": {
        "properties": {
          "as_of": {
            "description": "last validator sync",
            "type": "string"
          },
          "concentration": {
            "$ref": "#/components/schemas/api.StakeConcentration"
          },
          "delegated_stake": {
            "description": "nAVAX",
            "type": "string"
          },
          "delegation_count": {
            "description": "active delegations, not unique delegators",
            "type": "integer"
          },
          "delegation_fee": {
            "$ref": "#/components/schemas/api.DelegationFees"
          },
          "own_stake": {
            "description": "nAVAX",
            "type": "string"
          },
          "staked_supply_percent": {
            "description": "total_stake / total_supply * 100",
            "nullable": true,
            "type": "number"
          },
          "total_stake": {
            "description": "nAVAX",
            "type": "string"
          },
          "total_supply": {
            "description": "AVAX total supply (not circulating), null if not yet sampled",
            "nullable": true,
            "type": "string"
          },
          "validator_count": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.StakingUnlockWeek": {
        "properties": {
          "delegated_stake": {
            "description": "nAVAX",
            "type": "string"
          },
          "delegation_count": {
            "type": "integer"
          },
          "validator_count": {
            "type": "integer"
          },
          "validator_stake": {
            "description": "nAVAX",
            "type": "string"
          },
          "week_start": {
            "description": "Monday 00:00 UTC",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.Subnet": {
        "properties": {
          "chain_id": {
            "example": "2q9e4r6Mu...",
            "type": "string"
          },
          "converted_block": {
            "example": 12345700,
            "type": "integer"
          },
          "converted_time": {
            "nullable": true,
            "type": "string"
          },
          "created_block": {
            "example": 12345678,
            "type": "integer"
          },
          "created_time": {
            "type": "string"
          },
          "subnet_id": {
            "example": "2XDnKyAEr...",
            "type": "string"
          },
          "subnet_type": {
            "example": "l1",
            "type": "string"
          },
          "validator_manager_address": {
            "example": "0x1234...",
            "type": "string"
          },
          "validator_manager_owner": {
            "example": "0x5678...",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.SubnetChain": {
        "properties": {
          "chain_id": {
            "example": "2q9e4r6Mu...",
            "type": "string"
          },
          "chain_name": {
            "example": "My Chain",
            "type": "string"
          },
          "created_block": {
            "description": "Null when the chain's CreateChainTx is not indexed (only known from\nplatform.getBlockchains, which has no creation block or time).",
            "example": 12345678,
            "nullable": true,
            "type": "integer"
          },
          "created_time": {
            "nullable": true,
            "type": "string"
          },
          "subnet_id": {
            "example": "2XDnKyAEr...",
            "type": "string"
          },
          "vm_id": {
            "example": "subnetevm",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.SubnetDetail": {
        "properties": {
          "chains": {
            "items": {
              "$ref": "#/components/schemas/api.SubnetChain"
            },
            "type": "array"
          },
          "registry": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api.L1Registry"
              }
            ],
            "nullable": true
          },
          "subnet": {
            "$ref": "#/components/schemas/api.Subnet"
          }
        },
        "type": "object"
      },
      "api.SubnetTimelinePoint": {
        "properties": {
          "period": {
            "type": "string"
          },
          "value": {
            "example": 3,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.TokenApproval": {
        "properties": {
          "amount": {
            "description": "token base units",
            "example": "1000000",
            "type": "string"
          },
          "decimals": {
            "example": 6,
            "nullable": true,
            "type": "integer"
          },
          "is_unlimited": {
            "example": false,
            "type": "boolean"
          },
          "log_index": {
            "example": 5,
            "type": "integer"
          },
          "name": {
            "example": "USD Coin",
            "nullable": true,
            "type": "string"
          },
          "owner": {
            "example": "0x742d35Cc...",
            "type": "string"
          },
          "spender": {
            "example": "0x123...",
            "type": "string"
          },
          "symbol": {
            "example": "USDC",
            "nullable": true,
            "type": "string"
          },
          "token": {
            "example": "0xb97ef9ef...",
            "type": "string"
          },
          "token_label": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api.AddressLabel"
              }
            ],
            "description": "label of the token contract, if known",
            "nullable": true
          }
        },
        "type": "object"
      },
      "api.TokenBalance": {
        "properties": {
          "balance": {
            "description": "token base units",
            "example": "1000000",
            "type": "string"
          },
          "decimals": {
            "example": 6,
            "nullable": true,
            "type": "integer"
          },
          "last_updated_block": {
            "example": 77048918,
            "type": "integer"
          },
          "name": {
            "example": "USD Coin",
            "nullable": true,
            "type": "string"
          },
          "symbol": {
            "example": "USDC",
            "nullable": true,
            "type": "string"
          },
          "token": {
            "example": "0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e",
            "type": "string"
          },
          "total_in": {
            "description": "token base units",
            "example": "2000000",
            "type": "string"
          },
          "total_out": {
            "description": "token base units",
            "example": "1000000",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.TokenTransfer": {
        "properties": {
          "decimals": {
            "example": 6,
            "nullable": true,
            "type": "integer"
          },
          "from": {
            "example": "0x742d35Cc...",
            "type": "string"
          },
          "log_index": {
            "example": 5,
            "type": "integer"
          },
          "name": {
            "example": "USD Coin",
            "nullable": true,
            "type": "string"
          },
          "symbol": {
            "example": "USDC",
            "nullable": true,
            "type": "string"
          },
          "to": {
            "example": "0x123...",
            "type": "string"
          },
          "token": {
            "example": "0xb97ef9ef...",
            "type": "string"
          },
          "token_label": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api.AddressLabel"
              }
            ],
            "description": "label of the token contract, if known",
            "nullable": true
          },
          "value": {
            "description": "token base units",
            "example": "1000000",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.TokenizedFund": {
        "properties": {
          "bridged": {
            "example": false,
            "type": "boolean"
          },
          "category": {
            "description": "Category is \"stablecoin\" on /stablecoins, \"tokenized_fund\" on\n/tokenized-funds (fund shares such as BUIDL and JAAA), and\n\"tokenized_fund\", \"equity\" (company shares such as SECZ) or \"commodity\"\n(such as gold token XAUt0) on /rwa.",
            "enum": [
              "stablecoin",
              "tokenized_fund",
              "equity",
              "commodity"
            ],
            "example": "stablecoin",
            "type": "string"
          },
          "decimals": {
            "example": 6,
            "type": "integer"
          },
          "doublecounted": {
            "description": "Doublecounted marks stablecoins whose reserves are themselves other counted\nstablecoins (e.g. avUSD, UTY, reUSD, FRXUSD). Sum all rows for the GROSS total;\nexclude doublecounted rows for the NET total (the DeFiLlama-style headline).",
            "example": false,
            "type": "boolean"
          },
          "holders": {
            "example": 128453,
            "type": "integer"
          },
          "issuer": {
            "example": "Circle",
            "type": "string"
          },
          "name": {
            "example": "USD Coin",
            "type": "string"
          },
          "peg": {
            "description": "Peg is the currency a unit tracks. On /tokenized-funds it is \"USD\" for\n$1-per-share money-market funds and \"NAV\" for floating-NAV funds (credit or\nCLO funds such as ACRED and JAAA), whose share price the API does not carry.",
            "example": "USD",
            "type": "string"
          },
          "price_at": {
            "description": "when the NAV was set (Centrifuge priceLastUpdated, RedStone or Chainlink updatedAt), else when it was read. Null for peg prices",
            "nullable": true,
            "type": "string"
          },
          "price_source": {
            "description": "peg: $1 per share. erc4626: the fund vault's convertToAssets. erc7540: convertToAssets of the fund's ERC-7540 vault (Centrifuge, Nest). redstone: the asset's RedStone NAV or price feed. chainlink: the asset's Chainlink price feed (XAU / USD for XAUt0)",
            "enum": [
              "peg",
              "erc4626",
              "erc7540",
              "redstone",
              "chainlink"
            ],
            "example": "erc4626",
            "nullable": true,
            "type": "string"
          },
          "price_usd": {
            "description": "USD per whole share, null when unknown",
            "example": 1.065417,
            "nullable": true,
            "type": "number"
          },
          "supply": {
            "description": "token base units, circulating",
            "example": "459300000000000",
            "type": "string"
          },
          "symbol": {
            "example": "USDC",
            "type": "string"
          },
          "token": {
            "example": "0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e",
            "type": "string"
          },
          "transfers_24h": {
            "example": 58210,
            "type": "integer"
          },
          "value_usd": {
            "description": "supply in whole shares times price_usd, null when unknown",
            "example": 26483900.5,
            "nullable": true,
            "type": "number"
          },
          "volume_24h": {
            "description": "token base units",
            "example": "32100000000000",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.Transaction": {
        "properties": {
          "block_number": {
            "example": 12345678,
            "type": "integer"
          },
          "block_time": {
            "type": "string"
          },
          "chain_id": {
            "example": 43114,
            "type": "integer"
          },
          "from": {
            "example": "0x742d35Cc6634C0532925a3b844Bc9e7595f...",
            "type": "string"
          },
          "from_label": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api.AddressLabel"
              }
            ],
            "description": "label of the sender, if known",
            "nullable": true
          },
          "gas_limit": {
            "example": 21000,
            "type": "integer"
          },
          "gas_price": {
            "example": 25000000000,
            "type": "integer"
          },
          "gas_used": {
            "example": 21000,
            "type": "integer"
          },
          "hash": {
            "example": "0x1234...",
            "type": "string"
          },
          "intent": {
            "allOf": [
              {
                "$ref": "#/components/schemas/enrich.Intent"
              }
            ],
            "description": "coarse server-side reading of the tx; null when nothing can be said",
            "nullable": true
          },
          "method": {
            "allOf": [
              {
                "$ref": "#/components/schemas/enrich.Method"
              }
            ],
            "description": "Enrichment (additive, 2026-10). All null when unknown.",
            "nullable": true
          },
          "success": {
            "example": true,
            "type": "boolean"
          },
          "to": {
            "description": "null for contract creation",
            "example": "0x123...",
            "nullable": true,
            "type": "string"
          },
          "to_label": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api.AddressLabel"
              }
            ],
            "description": "label of the recipient, if known",
            "nullable": true
          },
          "transaction_index": {
            "example": 0,
            "type": "integer"
          },
          "type": {
            "example": 2,
            "type": "integer"
          },
          "value": {
            "description": "wei",
            "example": "1000000000000000000",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.TransactionDetail": {
        "properties": {
          "approvals": {
            "items": {
              "$ref": "#/components/schemas/api.TokenApproval"
            },
            "type": "array"
          },
          "block_number": {
            "example": 12345678,
            "type": "integer"
          },
          "block_time": {
            "type": "string"
          },
          "chain_id": {
            "example": 43114,
            "type": "integer"
          },
          "from": {
            "example": "0x742d35Cc6634C0532925a3b844Bc9e7595f...",
            "type": "string"
          },
          "from_label": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api.AddressLabel"
              }
            ],
            "description": "label of the sender, if known"
          },
          "gas_limit": {
            "example": 21000,
            "type": "integer"
          },
          "gas_price": {
            "example": 25000000000,
            "type": "integer"
          },
          "gas_used": {
            "example": 21000,
            "type": "integer"
          },
          "hash": {
            "example": "0x1234...",
            "type": "string"
          },
          "intent": {
            "allOf": [
              {
                "$ref": "#/components/schemas/enrich.Intent"
              }
            ],
            "description": "coarse server-side reading of the tx; null when nothing can be said"
          },
          "internal_txs": {
            "items": {
              "$ref": "#/components/schemas/api.InternalTransaction"
            },
            "type": "array"
          },
          "method": {
            "allOf": [
              {
                "$ref": "#/components/schemas/enrich.Method"
              }
            ],
            "description": "Enrichment (additive, 2026-10). All null when unknown."
          },
          "success": {
            "example": true,
            "type": "boolean"
          },
          "to": {
            "description": "null for contract creation",
            "example": "0x123...",
            "type": "string"
          },
          "to_label": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api.AddressLabel"
              }
            ],
            "description": "label of the recipient, if known"
          },
          "token_transfers": {
            "items": {
              "$ref": "#/components/schemas/api.TokenTransfer"
            },
            "type": "array"
          },
          "transaction_index": {
            "example": 0,
            "type": "integer"
          },
          "type": {
            "example": 2,
            "type": "integer"
          },
          "value": {
            "description": "wei",
            "example": "1000000000000000000",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.Validator": {
        "properties": {
          "active": {
            "type": "boolean"
          },
          "balance": {
            "description": "L1 validator fields (omit for Primary Network / legacy)",
            "nullable": true,
            "type": "integer"
          },
          "bls_public_key": {
            "type": "string"
          },
          "created_block": {
            "nullable": true,
            "type": "integer"
          },
          "created_time": {
            "nullable": true,
            "type": "string"
          },
          "daily_fee_burn": {
            "nullable": true,
            "type": "integer"
          },
          "days_remaining": {
            "nullable": true,
            "type": "number"
          },
          "delegation_fee_percent": {
            "description": "Delegation data (active Primary Network validators, from getCurrentValidators)",
            "nullable": true,
            "type": "number"
          },
          "delegator_count": {
            "nullable": true,
            "type": "integer"
          },
          "end_time": {
            "description": "End time (omit if zero/epoch for L1 validators with no expiry)",
            "nullable": true,
            "type": "string"
          },
          "estimated_days_left": {
            "nullable": true,
            "type": "number"
          },
          "fees_paid": {
            "nullable": true,
            "type": "integer"
          },
          "initial_deposit": {
            "nullable": true,
            "type": "integer"
          },
          "network_share_percent": {
            "nullable": true,
            "type": "number"
          },
          "node_id": {
            "type": "string"
          },
          "primary_stake": {
            "description": "Primary Network data (for legacy subnet validators)",
            "nullable": true,
            "type": "integer"
          },
          "primary_uptime": {
            "nullable": true,
            "type": "number"
          },
          "refund_amount": {
            "nullable": true,
            "type": "integer"
          },
          "remaining_balance_owner": {
            "type": "string"
          },
          "staked_amount": {
            "description": "Staked amount in WHOLE tokens (PoS only; omitted for PoA / unresolved chains).\nDecimal string with full precision: weight * weight_to_value_factor / 10^decimals.",
            "nullable": true,
            "type": "string"
          },
          "staked_token": {
            "description": "Symbol of the token actually staked (e.g. \"AVAX\", \"BEAM\"). PoS only.",
            "type": "string"
          },
          "start_time": {
            "type": "string"
          },
          "subnet_id": {
            "description": "Common fields",
            "type": "string"
          },
          "total_delegated": {
            "nullable": true,
            "type": "integer"
          },
          "total_deposited": {
            "description": "Computed fields (detail endpoint only)",
            "nullable": true,
            "type": "integer"
          },
          "total_stake": {
            "nullable": true,
            "type": "integer"
          },
          "total_topups": {
            "nullable": true,
            "type": "integer"
          },
          "tx_hash": {
            "description": "Registration info (from l1_validator_history)",
            "type": "string"
          },
          "tx_type": {
            "type": "string"
          },
          "uptime_percentage": {
            "description": "Uptime (omit if 0 — L1 validators don't have meaningful uptime)",
            "nullable": true,
            "type": "number"
          },
          "validation_id": {
            "type": "string"
          },
          "weight": {
            "type": "integer"
          }
        },
        "type": "object"
      },
      "api.ValidatorDailyFeeBurn": {
        "properties": {
          "active_seconds": {
            "example": 86400,
            "type": "integer"
          },
          "fees_burned": {
            "example": 44236800,
            "type": "integer"
          },
          "node_id": {
            "example": "NodeID-P7oB2McjBGgW...",
            "type": "string"
          },
          "validation_id": {
            "example": "2ZW6HUePB...",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.ValidatorDeposit": {
        "properties": {
          "amount": {
            "example": 10000000000,
            "type": "integer"
          },
          "block_number": {
            "example": 12345678,
            "type": "integer"
          },
          "block_time": {
            "type": "string"
          },
          "tx_id": {
            "example": "2ZW6HUePB...",
            "type": "string"
          },
          "tx_type": {
            "example": "IncreaseL1ValidatorBalance",
            "type": "string"
          }
        },
        "type": "object"
      },
      "api.ValidatorManagerRisk": {
        "properties": {
          "address": {
            "type": "string"
          },
          "balancer_owner": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api.OwnerInfo"
              }
            ],
            "description": "Set when Type is \"balancer\": Owner is then a Suzaku BalancerValidatorManager,\nBalancerOwner is who controls it, and SecurityModules are the modules that\nsplit validator weight. Null otherwise.",
            "nullable": true
          },
          "churn": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api.ChurnInfo"
              }
            ],
            "nullable": true
          },
          "deployed_on": {
            "description": "DeployedOn is where the manager contract has code: \"c-chain\" means validators can\nstill be managed if the L1 halts; \"self\" means the manager lives on the L1 itself\nand is unreachable if the chain is stuck; \"unknown\" means no contract was found.",
            "type": "string"
          },
          "owner": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api.OwnerInfo"
              }
            ],
            "nullable": true
          },
          "proxy": {
            "allOf": [
              {
                "$ref": "#/components/schemas/api.ProxyInfo"
              }
            ],
            "nullable": true
          },
          "security_modules": {
            "items": {
              "$ref": "#/components/schemas/api.SecurityModule"
            },
            "type": "array"
          },
          "type": {
            "description": "\"PoA\" | \"PoS-native\" | \"PoS-erc20\" | \"balancer\" | \"placeholder\" | \"unknown\"",
            "type": "string"
          }
        },
        "type": "object"
      },
      "enrich.Intent": {
        "properties": {
          "confidence": {
            "example": 0.9,
            "type": "number"
          },
          "kind": {
            "example": "swap",
            "type": "string"
          },
          "label": {
            "example": "Swapped",
            "type": "string"
          },
          "protocol": {
            "example": "LFJ",
            "type": "string"
          }
        },
        "type": "object"
      },
      "enrich.Method": {
        "properties": {
          "name": {
            "example": "transfer",
            "type": "string"
          },
          "selector": {
            "example": "0xa9059cbb",
            "type": "string"
          },
          "signature": {
            "example": "transfer(address,uint256)",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "info": {
    "contact": {},
    "description": "Avalanche data from L1Beat's indexer: C-Chain blocks, transactions, balances and DeFi metrics, P-Chain transactions, L1s and validators, staking, and the network genesis.\n\n**Scope.** EVM, DeFi and ICM data cover the Avalanche C-Chain (chain ID 43114) only. `/api/v1/treasuries` is served on this host by the L1Beat backend: its errors are `{\"error\": string}` and its rate limit is 1000 requests per 15 minutes per IP, separate from the limit below. Live blocks stream over WebSocket at `wss://api.l1beat.io/ws/blocks/43114`, which OpenAPI cannot describe.\n\n**Units.**\n- Values that can exceed 2^53 are decimal strings: token amounts in base units (divide by 10^decimals), P-Chain stake and fees in nAVAX (1 AVAX = 10^9 nAVAX), and C-Chain native amounts in wei (10^18).\n- USD values are JSON numbers.\n- Fields ending in `_percent` are percent (0-100); `priced_share` and similar shares are ratios (0-1).\n- Timestamps are RFC 3339 in UTC. Addresses are lowercase 0x hex; P-Chain IDs are CB58.\n- Fields marked nullable can be `null` (for example `created_time` of a chain whose creation was never indexed, or `block_time` of C-Chain block 0, whose header timestamp is 0).\n\n**Windows.** Metrics with a `days` parameter cover N complete UTC days ending at `as_of` (normally yesterday), not a rolling 24 hours. A window that reaches back before the start of the data is clamped, so the returned `days` can be smaller than requested.\n\n**Pagination.** List endpoints take `limit` and `offset`; where a response carries `meta.next_cursor`, pass it back as `cursor` (or `before` on ICM messages) for stable paging. Treat cursors as opaque.\n\n**Errors.** Errors return `{\"error\":{\"code\",\"message\"}}` with code INVALID_PARAMETER (400), NOT_FOUND (404), RATE_LIMITED (429) or INTERNAL_ERROR (500).\n\n**Rate limits.** 180 requests per minute per IP with a burst of 30 (token bucket). Every response carries X-RateLimit-Limit (burst size), X-RateLimit-Remaining and X-RateLimit-Reset (epoch second when the bucket is full again); a 429 also carries Retry-After.\n\n**Caching.** Metric and data responses are cached for 1-10 minutes and sent with Cache-Control: public, max-age=60, stale-while-revalidate=300.",
    "title": "L1Beat API",
    "version": "1.0"
  },
  "openapi": "3.0.3",
  "paths": {
    "/api/v1/data/chains": {
      "get": {
        "description": "Get a paginated list of chains with subnet info, L1 registry metadata, and validator stats",
        "parameters": [
          {
            "description": "Filter by chain type (l1, legacy)",
            "in": "query",
            "name": "chain_type",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by subnet ID",
            "in": "query",
            "name": "subnet_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by category (e.g. DeFi, Gaming)",
            "in": "query",
            "name": "category",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by active validators (true)",
            "in": "query",
            "name": "active",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Number of results (max 100)",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Pagination offset",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Cursor for keyset pagination",
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Include total count (true/false)",
            "in": "query",
            "name": "count",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "$ref": "#/components/schemas/api.ChainInfo"
                          },
                          "type": "array"
                        },
                        "meta": {
                          "$ref": "#/components/schemas/api.Meta"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "List chains",
        "tags": [
          "Data - Subnets"
        ]
      }
    },
    "/api/v1/data/chains/{chainId}/risk": {
      "get": {
        "description": "Validator-set decentralization (Nakamoto coefficient) plus, in later tiers, ValidatorManager control and economic security. Keyed by the same chain_id as /api/v1/data/chains.",
        "parameters": [
          {
            "description": "Chain ID",
            "in": "path",
            "name": "chainId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "$ref": "#/components/schemas/api.RiskResponse"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Not Found",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Get chain risk profile",
        "tags": [
          "Data - Chains"
        ]
      }
    },
    "/api/v1/data/evm/{chainId}/address/{address}/balances": {
      "get": {
        "description": "Get all ERC-20 token balances for an address",
        "parameters": [
          {
            "description": "Chain ID",
            "in": "path",
            "name": "chainId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Wallet address (with or without 0x prefix)",
            "in": "path",
            "name": "address",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Number of results (max 100)",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Pagination offset",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "$ref": "#/components/schemas/api.TokenBalance"
                          },
                          "type": "array"
                        },
                        "meta": {
                          "$ref": "#/components/schemas/api.Meta"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Chain not indexed (only 43114 is), or the requested item does not exist",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Get ERC-20 token balances",
        "tags": [
          "Data - EVM"
        ]
      }
    },
    "/api/v1/data/evm/{chainId}/address/{address}/internal-txs": {
      "get": {
        "description": "Get internal transactions (traces) involving a specific address",
        "parameters": [
          {
            "description": "Chain ID",
            "in": "path",
            "name": "chainId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Wallet address (0x-prefixed)",
            "in": "path",
            "name": "address",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Number of results (max 100)",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Pagination offset",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "$ref": "#/components/schemas/api.InternalTransaction"
                          },
                          "type": "array"
                        },
                        "meta": {
                          "$ref": "#/components/schemas/api.Meta"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Chain not indexed (only 43114 is), or the requested item does not exist",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Get internal transactions by address",
        "tags": [
          "Data - EVM"
        ]
      }
    },
    "/api/v1/data/evm/{chainId}/address/{address}/native": {
      "get": {
        "description": "Get native token balance (AVAX, ETH, etc.) for an address",
        "parameters": [
          {
            "description": "Chain ID",
            "in": "path",
            "name": "chainId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Wallet address (with or without 0x prefix)",
            "in": "path",
            "name": "address",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "$ref": "#/components/schemas/api.NativeBalance"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Chain not indexed (only 43114 is), or the requested item does not exist",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Get native token balance",
        "tags": [
          "Data - EVM"
        ]
      }
    },
    "/api/v1/data/evm/{chainId}/address/{address}/txs": {
      "get": {
        "description": "Get transactions sent from or to a specific address",
        "parameters": [
          {
            "description": "Chain ID",
            "in": "path",
            "name": "chainId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Wallet address (0x-prefixed)",
            "in": "path",
            "name": "address",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Number of results (max 100; 50 with include=transfers)",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Pagination offset",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Set to transfers to embed token_transfers, internal_txs and approvals on every row",
            "in": "query",
            "name": "include",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "$ref": "#/components/schemas/api.Transaction"
                          },
                          "type": "array"
                        },
                        "meta": {
                          "$ref": "#/components/schemas/api.Meta"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Chain not indexed (only 43114 is), or the requested item does not exist",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Get transactions by address",
        "tags": [
          "Data - EVM"
        ]
      }
    },
    "/api/v1/data/evm/{chainId}/blocks": {
      "get": {
        "description": "Get a paginated list of blocks for a specific chain",
        "parameters": [
          {
            "description": "Chain ID (e.g., 43114 for C-Chain)",
            "in": "path",
            "name": "chainId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Number of results (max 100)",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Pagination offset",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "$ref": "#/components/schemas/api.Block"
                          },
                          "type": "array"
                        },
                        "meta": {
                          "$ref": "#/components/schemas/api.Meta"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Chain not indexed (only 43114 is), or the requested item does not exist",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "List blocks",
        "tags": [
          "Data - EVM"
        ]
      }
    },
    "/api/v1/data/evm/{chainId}/blocks/{number}": {
      "get": {
        "description": "Get details for a specific block including transaction count",
        "parameters": [
          {
            "description": "Chain ID",
            "in": "path",
            "name": "chainId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Block number",
            "in": "path",
            "name": "number",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "$ref": "#/components/schemas/api.Block"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Chain not indexed (only 43114 is), or the requested item does not exist",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Get block by number",
        "tags": [
          "Data - EVM"
        ]
      }
    },
    "/api/v1/data/evm/{chainId}/rwa": {
      "get": {
        "description": "Returns every tokenized real-world asset in the registry that is not a stablecoin: fund shares (category tokenized_fund, the /tokenized-funds rows), company shares (category equity, e.g. Securitize SECZ) and commodities (category commodity, e.g. Tether gold XAUt0, peg XAU, one token per troy ounce). Same row shape and price fields as /tokenized-funds. supply is in token units. An equity price comes from its RedStone end-of-day price feed (price_source redstone). XAUt0 is priced per troy ounce from Chainlink's XAU / USD feed (price_source chainlink), which does not update while gold markets are closed. Rows are sorted by value_usd, highest first, unpriced rows last.",
        "parameters": [
          {
            "description": "Chain ID (e.g. 43114 for Avalanche C-Chain)",
            "in": "path",
            "name": "chainId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "$ref": "#/components/schemas/api.TokenizedFund"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Chain not indexed (only 43114 is), or the requested item does not exist",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "List tokenized real-world assets for a chain",
        "tags": [
          "Data - EVM"
        ]
      }
    },
    "/api/v1/data/evm/{chainId}/rwa/timeseries": {
      "get": {
        "description": "Returns time-series data for a metric (supply, volume, transfers, holders) of every non-stablecoin registry asset: tokenized funds, equity and commodities. Same parameters and shape as /stablecoins/timeseries.",
        "parameters": [
          {
            "description": "Chain ID (e.g. 43114 for Avalanche C-Chain)",
            "in": "path",
            "name": "chainId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Metric name (supply, volume, transfers, holders)",
            "in": "query",
            "name": "metric",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Time granularity (hour, day, week, month)",
            "in": "query",
            "name": "granularity",
            "schema": {
              "default": "day",
              "type": "string"
            }
          },
          {
            "description": "Token address (0x-prefixed hex). Omit for all assets.",
            "in": "query",
            "name": "token",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Start time (date, RFC3339, or unix timestamp)",
            "in": "query",
            "name": "from",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "End time (date, RFC3339, or unix timestamp)",
            "in": "query",
            "name": "to",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Number of data points per token (max 5000)",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 365,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "$ref": "#/components/schemas/api.StablecoinMetricSeries"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Chain not indexed (only 43114 is), or the requested item does not exist",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Get tokenized real-world asset metric time series",
        "tags": [
          "Data - EVM"
        ]
      }
    },
    "/api/v1/data/evm/{chainId}/stablecoins": {
      "get": {
        "description": "Returns curated stablecoins with circulating supply (excludes addresses listed in stablecoin_excluded_holders, e.g. issuer treasuries), holder count, and 24h transfer stats. Tokenized money-market funds (BUIDL, BENJI) are not stablecoins and are listed on /tokenized-funds instead.",
        "parameters": [
          {
            "description": "Chain ID (e.g. 43114 for Avalanche C-Chain)",
            "in": "path",
            "name": "chainId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "$ref": "#/components/schemas/api.Stablecoin"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Chain not indexed (only 43114 is), or the requested item does not exist",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "List stablecoins for a chain",
        "tags": [
          "Data - EVM"
        ]
      }
    },
    "/api/v1/data/evm/{chainId}/stablecoins/timeseries": {
      "get": {
        "description": "Returns time-series data for a stablecoin metric (supply, volume, transfers, holders). Tokenized funds (BUIDL, BENJI) are not included, also when asked for by token: use /tokenized-funds/timeseries.",
        "parameters": [
          {
            "description": "Chain ID (e.g. 43114 for Avalanche C-Chain)",
            "in": "path",
            "name": "chainId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Metric name (supply, volume, transfers, holders)",
            "in": "query",
            "name": "metric",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Time granularity (hour, day, week, month)",
            "in": "query",
            "name": "granularity",
            "schema": {
              "default": "day",
              "type": "string"
            }
          },
          {
            "description": "Token address (0x-prefixed hex). Omit for all stablecoins.",
            "in": "query",
            "name": "token",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Start time (date, RFC3339, or unix timestamp)",
            "in": "query",
            "name": "from",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "End time (date, RFC3339, or unix timestamp)",
            "in": "query",
            "name": "to",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Number of data points per token (max 5000)",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 365,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "$ref": "#/components/schemas/api.StablecoinMetricSeries"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Chain not indexed (only 43114 is), or the requested item does not exist",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Get stablecoin metric time series",
        "tags": [
          "Data - EVM"
        ]
      }
    },
    "/api/v1/data/evm/{chainId}/tokenized-funds": {
      "get": {
        "description": "Returns tokenized money-market funds (e.g. BlackRock BUIDL, Franklin Templeton BENJI) with circulating supply (excludes addresses listed in stablecoin_excluded_holders), holder count, and 24h transfer stats. Same shape as /stablecoins. These are fund shares, not stablecoins, so they are not part of the /stablecoins list. supply is in shares. price_usd and value_usd: peg USD funds are priced at $1 per share (price_source peg). Peg NAV funds have a floating share price, priced only when it is reported on-chain in a USD stablecoin, read every few minutes: the fund is an ERC-4626 vault (price_source erc4626), or its share token has an ERC-7540 vault such as Centrifuge's (price_source erc7540), or it has a RedStone NAV feed (price_source redstone). Otherwise the price fields are null. A price whose NAV is more than 7 days old is null. Never value a NAV fund at $1.",
        "parameters": [
          {
            "description": "Chain ID (e.g. 43114 for Avalanche C-Chain)",
            "in": "path",
            "name": "chainId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "$ref": "#/components/schemas/api.TokenizedFund"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Chain not indexed (only 43114 is), or the requested item does not exist",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "List tokenized funds for a chain",
        "tags": [
          "Data - EVM"
        ]
      }
    },
    "/api/v1/data/evm/{chainId}/tokenized-funds/timeseries": {
      "get": {
        "description": "Returns time-series data for a tokenized money-market fund metric (supply, volume, transfers, holders). Same parameters and shape as /stablecoins/timeseries.",
        "parameters": [
          {
            "description": "Chain ID (e.g. 43114 for Avalanche C-Chain)",
            "in": "path",
            "name": "chainId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Metric name (supply, volume, transfers, holders)",
            "in": "query",
            "name": "metric",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Time granularity (hour, day, week, month)",
            "in": "query",
            "name": "granularity",
            "schema": {
              "default": "day",
              "type": "string"
            }
          },
          {
            "description": "Token address (0x-prefixed hex). Omit for all tokenized funds.",
            "in": "query",
            "name": "token",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Start time (date, RFC3339, or unix timestamp)",
            "in": "query",
            "name": "from",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "End time (date, RFC3339, or unix timestamp)",
            "in": "query",
            "name": "to",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Number of data points per token (max 5000)",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 365,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "$ref": "#/components/schemas/api.StablecoinMetricSeries"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Chain not indexed (only 43114 is), or the requested item does not exist",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Get tokenized fund metric time series",
        "tags": [
          "Data - EVM"
        ]
      }
    },
    "/api/v1/data/evm/{chainId}/txs": {
      "get": {
        "description": "Get a paginated list of transactions for a specific chain",
        "parameters": [
          {
            "description": "Chain ID",
            "in": "path",
            "name": "chainId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Number of results (max 100; 50 with include=transfers)",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Pagination offset",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Set to transfers to embed token_transfers, internal_txs and approvals on every row",
            "in": "query",
            "name": "include",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "$ref": "#/components/schemas/api.Transaction"
                          },
                          "type": "array"
                        },
                        "meta": {
                          "$ref": "#/components/schemas/api.Meta"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Chain not indexed (only 43114 is), or the requested item does not exist",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "List transactions",
        "tags": [
          "Data - EVM"
        ]
      }
    },
    "/api/v1/data/evm/{chainId}/txs/{hash}": {
      "get": {
        "description": "Get details for a specific transaction",
        "parameters": [
          {
            "description": "Chain ID",
            "in": "path",
            "name": "chainId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Transaction hash (0x-prefixed)",
            "in": "path",
            "name": "hash",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "$ref": "#/components/schemas/api.TransactionDetail"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Chain not indexed (only 43114 is), or the requested item does not exist",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Get transaction by hash",
        "tags": [
          "Data - EVM"
        ]
      }
    },
    "/api/v1/data/genesis": {
      "get": {
        "description": "The Avalanche mainnet genesis, from the config every node boots from: the genesis message, start time, the P-Chain genesis block ID, the X-Chain and C-Chain IDs, the AVAX asset ID, the initial supply split by where it was created, when the locked supply unlocked, the 75 initial validators and the C-Chain genesis. Amounts are nAVAX strings. Individual allocations are at /api/v1/data/genesis/allocations.",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "$ref": "#/components/schemas/api.GenesisOverview"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Network genesis",
        "tags": [
          "Data - Genesis"
        ]
      }
    },
    "/api/v1/data/genesis/allocations": {
      "get": {
        "description": "The 5,390 mainnet genesis allocations in genesis order. x_chain_amount was spendable on the X-Chain at genesis; unlock_schedule tranches were locked on the P-Chain until unlock_time, or staked by the genesis validators when initially_staked is true. Amounts are nAVAX strings.",
        "parameters": [
          {
            "description": "AVAX address (avax1..., X-avax1... or P-avax1...) or 0x ETH address",
            "in": "query",
            "name": "address",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Number of results (max 1000)",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 100,
              "type": "integer"
            }
          },
          {
            "description": "Pagination offset",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "$ref": "#/components/schemas/api.GenesisAllocation"
                          },
                          "type": "array"
                        },
                        "meta": {
                          "$ref": "#/components/schemas/api.Meta"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Genesis allocations",
        "tags": [
          "Data - Genesis"
        ]
      }
    },
    "/api/v1/data/pchain/blocks": {
      "get": {
        "description": "Recent P-Chain blocks (grouped from transactions), newest first. Bounded to the last N days (default 7).",
        "parameters": [
          {
            "description": "Look-back window in days",
            "in": "query",
            "name": "days",
            "schema": {
              "default": 7,
              "type": "integer"
            }
          },
          {
            "description": "Number of results (max 100)",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Pagination offset",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "$ref": "#/components/schemas/api.PChainBlock"
                          },
                          "type": "array"
                        },
                        "meta": {
                          "$ref": "#/components/schemas/api.Meta"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "List P-Chain blocks",
        "tags": [
          "Data - P-Chain"
        ]
      }
    },
    "/api/v1/data/pchain/blocks/{number}": {
      "get": {
        "description": "A single P-Chain block (summarized from its transactions) including proposer and parent info.",
        "parameters": [
          {
            "description": "Block number",
            "in": "path",
            "name": "number",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "$ref": "#/components/schemas/api.PChainBlock"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Not Found",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Get P-Chain block by number",
        "tags": [
          "Data - P-Chain"
        ]
      }
    },
    "/api/v1/data/pchain/stats": {
      "get": {
        "description": "Headline counters for the P-Chain: active L1/legacy subnets, active chains and validators, 7-day tx volume, and total L1 fees paid (nAVAX).",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "$ref": "#/components/schemas/api.PChainStats"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Get P-Chain overview stats",
        "tags": [
          "Data - P-Chain"
        ]
      }
    },
    "/api/v1/data/pchain/subnet-timeline": {
      "get": {
        "description": "Monthly count of subnets converted to L1, oldest first.",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "$ref": "#/components/schemas/api.SubnetTimelinePoint"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Get L1 subnet creation timeline",
        "tags": [
          "Data - P-Chain"
        ]
      }
    },
    "/api/v1/data/pchain/tx-types": {
      "get": {
        "description": "Get a list of P-Chain transaction types with counts. Pass ?days=N to restrict to the last N days.",
        "parameters": [
          {
            "description": "Restrict to the last N days (default: all time)",
            "in": "query",
            "name": "days",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "List P-Chain transaction types",
        "tags": [
          "Data - P-Chain"
        ]
      }
    },
    "/api/v1/data/pchain/txs": {
      "get": {
        "description": "Get a paginated list of P-Chain transactions with optional filtering",
        "parameters": [
          {
            "description": "Filter by transaction type",
            "in": "query",
            "name": "tx_type",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by subnet ID",
            "in": "query",
            "name": "subnet_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Number of results (max 100)",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Pagination offset",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "$ref": "#/components/schemas/api.PChainTx"
                          },
                          "type": "array"
                        },
                        "meta": {
                          "$ref": "#/components/schemas/api.Meta"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "List P-Chain transactions",
        "tags": [
          "Data - P-Chain"
        ]
      }
    },
    "/api/v1/data/pchain/txs/{txId}": {
      "get": {
        "description": "Get details for a specific P-Chain transaction",
        "parameters": [
          {
            "description": "Transaction ID",
            "in": "path",
            "name": "txId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "$ref": "#/components/schemas/api.PChainTx"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Not Found",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Get P-Chain transaction by ID",
        "tags": [
          "Data - P-Chain"
        ]
      }
    },
    "/api/v1/data/subnets/{subnetId}": {
      "get": {
        "description": "Get full details for a subnet including chains and registry info",
        "parameters": [
          {
            "description": "Subnet ID",
            "in": "path",
            "name": "subnetId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "$ref": "#/components/schemas/api.SubnetDetail"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Not Found",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Get subnet by ID",
        "tags": [
          "Data - Subnets"
        ]
      }
    },
    "/api/v1/data/validators": {
      "get": {
        "description": "Get a paginated list of validators with optional filtering. Legacy subnet validators are enriched with Primary Network stake and uptime.",
        "parameters": [
          {
            "description": "Filter by subnet ID",
            "in": "query",
            "name": "subnet_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Filter by active status (true/false)",
            "in": "query",
            "name": "active",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Filter by node ID (all of the node's validations)",
            "in": "query",
            "name": "node_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Sort key: weight, total_stake, total_delegated, delegator_count, delegation_fee_percent, end_time",
            "in": "query",
            "name": "sort",
            "schema": {
              "default": "weight",
              "type": "string"
            }
          },
          {
            "description": "Sort order: desc or asc",
            "in": "query",
            "name": "order",
            "schema": {
              "default": "desc",
              "type": "string"
            }
          },
          {
            "description": "Number of results (max 100)",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Pagination offset",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "$ref": "#/components/schemas/api.Validator"
                          },
                          "type": "array"
                        },
                        "meta": {
                          "$ref": "#/components/schemas/api.Meta"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "List validators",
        "tags": [
          "Data - Validators"
        ]
      }
    },
    "/api/v1/data/validators/{id}": {
      "get": {
        "description": "Get details for a specific validator by validation ID or node ID. A node ID resolves to the node's active validation, else its most recent one. Legacy subnet validators include Primary Network stake and uptime.",
        "parameters": [
          {
            "description": "Validation ID or Node ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Subnet ID (to get subnet-specific entry for a node)",
            "in": "query",
            "name": "subnet_id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "$ref": "#/components/schemas/api.Validator"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Not Found",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Get validator by ID",
        "tags": [
          "Data - Validators"
        ]
      }
    },
    "/api/v1/data/validators/{id}/deposits": {
      "get": {
        "description": "Get balance transactions (deposits, topups, refunds) for a validator",
        "parameters": [
          {
            "description": "Validation ID or Node ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Number of results (max 100)",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Pagination offset",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "$ref": "#/components/schemas/api.ValidatorDeposit"
                          },
                          "type": "array"
                        },
                        "meta": {
                          "$ref": "#/components/schemas/api.Meta"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Get validator deposits",
        "tags": [
          "Data - Validators"
        ]
      }
    },
    "/api/v1/metrics/bridges": {
      "get": {
        "description": "USD bridged into and out of the C-Chain over the last N complete UTC days ending as_of, in total and by bridge, counterparty chain and token. Tracked: Circle CCTP V1+V2, LayerZero OFTs V1+V2, Stargate V2 pools, the Avalanche Bridge (.e tokens to Ethereum, BTC.b to Bitcoin), Chainlink CCIP token pools and the 2021 AEB (ChainBridge, Ethereum). Counterparty chain keys are not a closed set: unmapped chains appear as raw keys such as lz:30999 or cctp:12. Each transfer counts once: CCIP or other legs moving native USDC through CCTP count as CCTP. Transactions that bridge in and out again are left out (passthrough_count). Stablecoins are priced at $1, wrapped ETH, BTC, AVAX and LINK at the hourly Chainlink price, other tokens are counted but unpriced (priced_share). Cached for 5 minutes.",
        "parameters": [
          {
            "description": "Complete UTC days, 1-3650",
            "in": "query",
            "name": "days",
            "schema": {
              "default": 30,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "$ref": "#/components/schemas/api.BridgeOverview"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "C-Chain bridge inflows and outflows",
        "tags": [
          "Metrics - Bridges"
        ]
      }
    },
    "/api/v1/metrics/burned/total": {
      "get": {
        "description": "All-time AVAX burned across Avalanche, split P/X/C. Amounts are nAVAX (1 nAVAX = 1e9 wei). Unindexed chains are null.",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "$ref": "#/components/schemas/api.NetworkBurnedTotal"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Get network total AVAX burned",
        "tags": [
          "Metrics - Fees"
        ]
      }
    },
    "/api/v1/metrics/dex": {
      "get": {
        "description": "Swap volume, swaps and unique addresses per DEX (Pharaoh V3, Pharaoh DLMM, Uniswap V3, Blackhole CLMM, LFJ Liquidity Book V2.0/V2.1/V2.2, LFJ V1, Pangolin V3, Pangolin V2, SushiSwap V2) over the last N complete UTC days ending as_of. days=1 is the last complete UTC day (matches DefiLlama's daily numbers), not a rolling 24h. Only pools created by the known factories count. Swaps are priced at a USD stablecoin side ($1) or a WAVAX side (hourly AVAX price from WAVAX/stablecoin swaps), one side each; others are counted but unpriced (see priced_share). unique_addresses counts tx.from, bots included; totals deduplicate across DEXes. Cached for 10 minutes.",
        "parameters": [
          {
            "description": "Complete UTC days, 1-3650",
            "in": "query",
            "name": "days",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "$ref": "#/components/schemas/api.DexOverview"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "C-Chain DEX volume",
        "tags": [
          "Metrics - DEX"
        ]
      }
    },
    "/api/v1/metrics/dex/pools": {
      "get": {
        "description": "Pools with the most priced volume over the last N complete UTC days ending at the newest rolled-up day, with their tokens. Token symbols come from token_metadata and are empty when unknown. Cached for 10 minutes.",
        "parameters": [
          {
            "description": "Complete UTC days, 1-30",
            "in": "query",
            "name": "days",
            "schema": {
              "default": 1,
              "type": "integer"
            }
          },
          {
            "description": "Pools, 1-100",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "$ref": "#/components/schemas/api.DexPool"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Top C-Chain DEX pools",
        "tags": [
          "Metrics - DEX"
        ]
      }
    },
    "/api/v1/metrics/dex/timeseries": {
      "get": {
        "description": "Daily volume and swaps, total and per DEX, for the last N complete UTC days ending at the newest rolled-up day. Oldest first; days without swaps are left out. Cached for 10 minutes.",
        "parameters": [
          {
            "description": "Complete UTC days, 1-3650",
            "in": "query",
            "name": "days",
            "schema": {
              "default": 90,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "$ref": "#/components/schemas/api.DexDay"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "C-Chain DEX volume history",
        "tags": [
          "Metrics - DEX"
        ]
      }
    },
    "/api/v1/metrics/evm/{chainId}/fees/burned": {
      "get": {
        "description": "Per-period (and cumulative) tx-fee burn. On the C-Chain 100% of the fee is burned. Amounts are nAVAX (1 nAVAX = 1e9 wei).",
        "parameters": [
          {
            "description": "Chain ID (e.g. 43114 for C-Chain)",
            "in": "path",
            "name": "chainId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "hour, day, week, or month",
            "in": "query",
            "name": "granularity",
            "schema": {
              "default": "day",
              "type": "string"
            }
          },
          {
            "description": "Start time (date, RFC3339, or unix timestamp)",
            "in": "query",
            "name": "from",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "End time (date, RFC3339, or unix timestamp)",
            "in": "query",
            "name": "to",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Number of periods (max 1000)",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 100,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "$ref": "#/components/schemas/api.FeeBurnResponse"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Chain not indexed (only 43114 is), or the requested item does not exist",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Get transaction fee burn",
        "tags": [
          "Metrics - Fees"
        ]
      }
    },
    "/api/v1/metrics/evm/{chainId}/stats": {
      "get": {
        "description": "Get aggregate statistics (block count, tx count, gas usage) for a chain",
        "parameters": [
          {
            "description": "Chain ID",
            "in": "path",
            "name": "chainId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "$ref": "#/components/schemas/api.ChainMetrics"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Chain not indexed (only 43114 is), or the requested item does not exist",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Get chain statistics",
        "tags": [
          "Metrics - Chain"
        ]
      }
    },
    "/api/v1/metrics/evm/{chainId}/timeseries": {
      "get": {
        "description": "Get a list of available time series metrics for a chain",
        "parameters": [
          {
            "description": "Chain ID",
            "in": "path",
            "name": "chainId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "$ref": "#/components/schemas/api.AvailableMetric"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Chain not indexed (only 43114 is), or the requested item does not exist",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "List available metrics",
        "tags": [
          "Metrics - Chain"
        ]
      }
    },
    "/api/v1/metrics/evm/{chainId}/timeseries/{metric}": {
      "get": {
        "description": "Get time series data for a specific metric with configurable granularity",
        "parameters": [
          {
            "description": "Chain ID",
            "in": "path",
            "name": "chainId",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Metric name (e.g., tx_count, gas_used)",
            "in": "path",
            "name": "metric",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Time granularity (hour, day, week, month)",
            "in": "query",
            "name": "granularity",
            "schema": {
              "default": "day",
              "type": "string"
            }
          },
          {
            "description": "Start time (date, RFC3339, or unix timestamp)",
            "in": "query",
            "name": "from",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "End time (date, RFC3339, or unix timestamp)",
            "in": "query",
            "name": "to",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Number of data points (max 1000)",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 100,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "$ref": "#/components/schemas/api.MetricSeries"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Chain not indexed (only 43114 is), or the requested item does not exist",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Get metric time series",
        "tags": [
          "Metrics - Chain"
        ]
      }
    },
    "/api/v1/metrics/fees": {
      "get": {
        "description": "Get aggregated fee statistics for L1 validators",
        "parameters": [
          {
            "description": "Filter by subnet ID",
            "in": "query",
            "name": "subnet_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Number of results (max 100)",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 20,
              "type": "integer"
            }
          },
          {
            "description": "Pagination offset",
            "in": "query",
            "name": "offset",
            "schema": {
              "default": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "$ref": "#/components/schemas/api.FeeStats"
                          },
                          "type": "array"
                        },
                        "meta": {
                          "$ref": "#/components/schemas/api.Meta"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Get L1 fee statistics",
        "tags": [
          "Metrics - Fees"
        ]
      }
    },
    "/api/v1/metrics/fees/daily": {
      "get": {
        "description": "Get daily L1 validation fee burn computed from validator active periods (512 nAVAX/sec per validator). Omit subnet_id for network-wide totals.",
        "parameters": [
          {
            "description": "Subnet ID (omit for all L1s)",
            "in": "query",
            "name": "subnet_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Number of days (max 365)",
            "in": "query",
            "name": "days",
            "schema": {
              "default": 90,
              "type": "integer"
            }
          },
          {
            "description": "Include per-validator breakdown (true/false, requires subnet_id)",
            "in": "query",
            "name": "validators",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "$ref": "#/components/schemas/api.DailyFeeBurn"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Get daily fee burn",
        "tags": [
          "Metrics - Fees"
        ]
      }
    },
    "/api/v1/metrics/icm": {
      "get": {
        "description": "ICM messages sent from and received on the C-Chain over the last N complete UTC days ending as_of, total and per other chain (destination for sends, source for receives). Counted from the official TeleporterMessenger's SendCrossChainMessage and ReceiveCrossChainMessage events, one per messageID in each direction, from 2024-03-05. Messages between two L1s that never touch the C-Chain are not included. Cached for 5 minutes.",
        "parameters": [
          {
            "description": "Complete UTC days, 1-3650",
            "in": "query",
            "name": "days",
            "schema": {
              "default": 30,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "$ref": "#/components/schemas/api.ICMOverview"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "C-Chain ICM (Teleporter) messages",
        "tags": [
          "Metrics - ICM"
        ]
      }
    },
    "/api/v1/metrics/icm/apps": {
      "get": {
        "description": "C-Chain contracts sending or receiving ICM messages over the last N complete UTC days ending as_of: sends from them (originSenderAddress), receives to them (destinationAddress), their busiest other chains, and first and last message all time. ICTT token bridges are marked ictt-home or ictt-remote after an on-chain check, with their token. Names come from address labels, else the ICTT token. Busiest first. Cached for 5 minutes.",
        "parameters": [
          {
            "description": "Complete UTC days, 1-3650",
            "in": "query",
            "name": "days",
            "schema": {
              "default": 30,
              "type": "integer"
            }
          },
          {
            "description": "Apps, 1-200",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 50,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "$ref": "#/components/schemas/api.ICMApps"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "C-Chain ICM apps",
        "tags": [
          "Metrics - ICM"
        ]
      }
    },
    "/api/v1/metrics/icm/messages": {
      "get": {
        "description": "ICM messages sent from or received on the C-Chain, newest first, with the C-Chain contract and L1 address, relayer fee (sends), deliverer and reward redeemer (receives), and the ICTT payload for ICTT apps. Page with before=meta.next_cursor. Cached for 1 minute.",
        "parameters": [
          {
            "description": "Messages, 1-200",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 50,
              "type": "integer"
            }
          },
          {
            "description": "Cursor from meta.next_cursor",
            "in": "query",
            "name": "before",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Other chain's blockchain ID (CB58)",
            "in": "query",
            "name": "chain",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "sent or received",
            "in": "query",
            "name": "direction",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "C-Chain contract address",
            "in": "query",
            "name": "app",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "$ref": "#/components/schemas/api.ICMMessage"
                          },
                          "type": "array"
                        },
                        "meta": {
                          "$ref": "#/components/schemas/api.Meta"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Recent C-Chain ICM messages",
        "tags": [
          "Metrics - ICM"
        ]
      }
    },
    "/api/v1/metrics/icm/timeseries": {
      "get": {
        "description": "Messages sent from and received on the C-Chain per UTC day, total and per other chain, for the last N complete days ending as_of. With by_app=true, also per C-Chain contract (see /metrics/icm/apps). Oldest first, every day included (zero when quiet), from 2024-03-05. Cached for 5 minutes.",
        "parameters": [
          {
            "description": "Complete UTC days, 1-3650",
            "in": "query",
            "name": "days",
            "schema": {
              "default": 90,
              "type": "integer"
            }
          },
          {
            "description": "Add the per-app split",
            "in": "query",
            "name": "by_app",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "$ref": "#/components/schemas/api.ICMDay"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "C-Chain ICM (Teleporter) messages per day",
        "tags": [
          "Metrics - ICM"
        ]
      }
    },
    "/api/v1/metrics/icm/transfers/top": {
      "get": {
        "description": "The largest priced ICTT transfers on the C-Chain by USD over the last N complete UTC days ending as_of. Cached for 5 minutes.",
        "parameters": [
          {
            "description": "Complete UTC days, 1-3650",
            "in": "query",
            "name": "days",
            "schema": {
              "default": 30,
              "type": "integer"
            }
          },
          {
            "description": "Transfers, 1-200",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 50,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "$ref": "#/components/schemas/api.ICMTransfer"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Largest C-Chain ICTT transfers",
        "tags": [
          "Metrics - ICM"
        ]
      }
    },
    "/api/v1/metrics/icm/value": {
      "get": {
        "description": "Token value moved by ICTT token bridges (TokenHome / TokenRemote) on the C-Chain over the last N complete UTC days ending as_of: sent (left the C-Chain) and received (arrived on it, once executed), total, per token and per other chain. Amounts are C-Chain token base units: a TokenHome's messages are scaled back from the remote's denomination with the remote's registered multiplier. Priced by token address like /metrics/bridges (USD stablecoins and legacy AEB USD tokens at $1; WAVAX, the ETH tokens WETH.e and AEB ETH, the BTC tokens BTC.b, WBTC.e, the WBTC OFT, LBTC and AEB WBTC, and LINK.e and AEB LINK at their hourly Chainlink price); other tokens have no USD. A multi-hop transfer through a C-Chain home counts once. Cached for 5 minutes.",
        "parameters": [
          {
            "description": "Complete UTC days, 1-3650",
            "in": "query",
            "name": "days",
            "schema": {
              "default": 30,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "$ref": "#/components/schemas/api.ICMValue"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "C-Chain ICTT value",
        "tags": [
          "Metrics - ICM"
        ]
      }
    },
    "/api/v1/metrics/icm/value/timeseries": {
      "get": {
        "description": "Daily USD sent and received by ICTT token bridges on the C-Chain, with transfers and a per-token split, for the last N complete UTC days ending as_of. Oldest first, every day included. Same scaling and pricing as /metrics/icm/value. Cached for 5 minutes.",
        "parameters": [
          {
            "description": "Complete UTC days, 1-3650",
            "in": "query",
            "name": "days",
            "schema": {
              "default": 90,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "$ref": "#/components/schemas/api.ICMValueDay"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "C-Chain ICTT value per day",
        "tags": [
          "Metrics - ICM"
        ]
      }
    },
    "/api/v1/metrics/indexer/status": {
      "get": {
        "description": "Get sync status for all indexed chains",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.IndexerStatus"
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Get indexer status",
        "tags": [
          "Metrics - Indexer"
        ]
      }
    },
    "/api/v1/metrics/lending": {
      "get": {
        "description": "Supply, borrow, rates and risk parameters of every market on Aave V3, Aave V4 (Core Hub) and BENQI Lending, read from the contracts by the indexer every C-Chain snapshot cycle (5 minutes by default, `cchainSnapshotInterval`) and cached for 2 minutes. Amounts are token base units. APYs compound the per-second rate. USD values use each protocol's own oracle and are null when its read failed. The summary sums AVAX (WAVAX on Aave, native AVAX on BENQI) and sAVAX across protocols.",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "$ref": "#/components/schemas/api.LendingOverview"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "C-Chain lending markets",
        "tags": [
          "Metrics - Staking"
        ]
      }
    },
    "/api/v1/metrics/perps": {
      "get": {
        "description": "Volume, long/short split, trades, traders, fees and liquidations per venue (GMX V2, GMX V1) over the last N complete UTC days ending as_of. Volume is the USD size change of every increase, decrease and liquidation, as GMX reports it. Fees are position, borrowing and liquidation fees (funding is not a fee). traders counts distinct accounts that changed a position size. Cached for 5 minutes.",
        "parameters": [
          {
            "description": "Complete UTC days, 1-3650",
            "in": "query",
            "name": "days",
            "schema": {
              "default": 30,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "$ref": "#/components/schemas/api.PerpOverview"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "C-Chain perpetuals",
        "tags": [
          "Metrics - Perps"
        ]
      }
    },
    "/api/v1/metrics/restaking": {
      "get": {
        "description": "L1s whose validators are secured by restaking vaults on the C-Chain (Suzaku). Each L1 lists its vaults with deposited, allocated (delegated to the L1's operators) and idle collateral in token base units, and the share of the L1's active P-Chain validator weight held by validators the protocol registered. Every L1 in the Suzaku L1Registry with at least one vault is included, active or not. Sampled by the indexer every C-Chain snapshot cycle (5 minutes by default, `cchainSnapshotInterval`) and cached for 5 minutes.",
        "parameters": [
          {
            "description": "Only this L1 subnet ID",
            "in": "query",
            "name": "subnet_id",
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Only the L1 with this blockchain ID",
            "in": "query",
            "name": "chain_id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "$ref": "#/components/schemas/api.RestakingOverview"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Restaked collateral per L1",
        "tags": [
          "Metrics - Staking"
        ]
      }
    },
    "/api/v1/metrics/staking": {
      "get": {
        "description": "Own and delegated stake, validator/delegation counts, delegation fee distribution, stake concentration (top N share, Nakamoto) and share of AVAX total supply staked. Amounts are nAVAX strings. Cached for 1 minute, source refreshes every 5.",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "$ref": "#/components/schemas/api.StakingSummary"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Primary Network staking summary",
        "tags": [
          "Metrics - Staking"
        ]
      }
    },
    "/api/v1/metrics/staking/liquid": {
      "get": {
        "description": "AVAX liquid staking tokens with pooled AVAX, token supply and exchange rate from the C-Chain contract, and running delegations whose rewards go to the protocol's P-Chain addresses. Sampled by the indexer every validator sync cycle (hourly on api.l1beat.io). attribution says whether the P-Chain addresses are confirmed by the protocol. Amounts are nAVAX strings. Cached for 5 minutes.",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "$ref": "#/components/schemas/api.LiquidStakingOverview"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Liquid staking protocols",
        "tags": [
          "Metrics - Staking"
        ]
      }
    },
    "/api/v1/metrics/staking/unlocks": {
      "get": {
        "description": "Stake whose lock ends in each of the next N weeks (Monday-start, UTC), split into validator own stake and delegated stake. Delegations come from active AddDelegator/AddPermissionlessDelegator transactions. Amounts are nAVAX strings. Cached for 5 minutes.",
        "parameters": [
          {
            "description": "Weeks ahead, 1-53 (the maximum staking period is one year)",
            "in": "query",
            "name": "weeks",
            "schema": {
              "default": 12,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/api.Response"
                    },
                    {
                      "properties": {
                        "data": {
                          "items": {
                            "$ref": "#/components/schemas/api.StakingUnlockWeek"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "description": "OK",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Bad Request",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Rate limit exceeded",
            "headers": {
              "Retry-After": {
                "$ref": "#/components/headers/Retry-After"
              },
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.ErrorResponse"
                }
              }
            },
            "description": "Internal Server Error",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Primary Network stake unlock schedule",
        "tags": [
          "Metrics - Staking"
        ]
      }
    },
    "/api/v1/treasuries": {
      "get": {
        "description": "Each holder's AVAX, with totals, the AVAX price and the circulating supply. Cached for 60 seconds.",
        "operationId": "getTreasuries",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Treasuries"
                }
              }
            },
            "description": "Holders and totals."
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "description": "Error message.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Rate limit exceeded: 1000 requests per 15 minutes per IP."
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "error": {
                      "description": "Error message.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "error"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "The data could not be loaded."
          }
        },
        "summary": "AVAX held by companies and ETFs",
        "tags": [
          "Treasuries"
        ]
      },
      "x-l1beat-service": "backend"
    },
    "/health": {
      "get": {
        "description": "Check API server and database connectivity",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.HealthStatus"
                }
              }
            },
            "description": "Healthy",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.HealthStatus"
                }
              }
            },
            "description": "Unhealthy",
            "headers": {
              "X-RateLimit-Limit": {
                "$ref": "#/components/headers/X-RateLimit-Limit"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/X-RateLimit-Remaining"
              },
              "X-RateLimit-Reset": {
                "$ref": "#/components/headers/X-RateLimit-Reset"
              }
            }
          }
        },
        "summary": "Health check",
        "tags": [
          "Health"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://api.l1beat.io"
    }
  ],
  "tags": [
    {
      "description": "Health check endpoints",
      "name": "Health"
    },
    {
      "description": "EVM blockchain data (blocks, transactions)",
      "name": "Data - EVM"
    },
    {
      "description": "P-Chain transaction data",
      "name": "Data - P-Chain"
    },
    {
      "description": "Subnet and L1 information",
      "name": "Data - Subnets"
    },
    {
      "description": "L1 validator information",
      "name": "Data - Validators"
    },
    {
      "description": "L1 validation fee statistics",
      "name": "Metrics - Fees"
    },
    {
      "description": "EVM chain statistics and time series",
      "name": "Metrics - Chain"
    },
    {
      "description": "Indexer sync status",
      "name": "Metrics - Indexer"
    }
  ]
}
