{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eterna-exchange/json-schema/eterna-exchange-get-integrations-coingecko-contracts-response-schema.json",
  "title": "GetIntegrationsCoingeckoContractsResponse",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/eterna-exchange-openapi-generated.yml#/components/schemas/GetIntegrationsCoingeckoContractsResponse",
  "type": "object",
  "properties": {
    "ticker_id": {
      "type": "string",
      "description": "Pair id with underscore, e.g. BTC_USDT"
    },
    "base_currency": {
      "type": "string",
      "description": "Base currency of the contract"
    },
    "target_currency": {
      "type": "string",
      "description": "Quote currency (USDT)"
    },
    "last_price": {
      "type": "number",
      "description": "Last price in quote currency"
    },
    "base_volume": {
      "type": "number",
      "description": "24h volume in base asset (Eterna executions)"
    },
    "target_volume": {
      "type": "number",
      "description": "24h volume in quote (USDT)"
    },
    "bid": {
      "type": "number",
      "description": "Best bid"
    },
    "ask": {
      "type": "number",
      "description": "Best ask"
    },
    "high": {
      "type": "number",
      "description": "24h high"
    },
    "low": {
      "type": "number",
      "description": "24h low"
    },
    "product_type": {
      "type": "string",
      "description": "Perpetual"
    },
    "open_interest": {
      "type": "number",
      "description": "Open interest size (base units, Eterna book)"
    },
    "open_interest_usd": {
      "type": "number",
      "description": "Open interest notional (USD / USDT)"
    },
    "index_price": {
      "type": "number",
      "description": "Index / mark reference"
    },
    "index_currency": {
      "type": "string",
      "description": "Index currency"
    },
    "funding_rate": {
      "type": "number",
      "description": "Current funding rate"
    },
    "next_funding_rate": {
      "type": "number",
      "description": "Next funding rate"
    },
    "next_funding_rate_timestamp": {
      "type": "integer",
      "description": "Timestamp for next funding rate"
    },
    "contract_type": {
      "type": "string",
      "description": "Vanilla"
    },
    "contract_price_currency": {
      "type": "string",
      "description": "Currency of contract price"
    },
    "contract_price": {
      "type": "number",
      "description": "Contract price"
    }
  }
}