tv pools EVM

Returns pairs, where market address is 0xc2ea…539d, quote token ID is bid:eth:0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 and token ID is bid:eth:0xaaee1a9723aadb7afa2810263653a34ba2c21c7a, sorted by interval time start: start, duration, token ID, token symbol, token name, quote token ID, quote token symbol and 11 more fields.

By Nadia · saved 3 April 2026 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query TradingViewHistory($from: DateTime!, $to: DateTime!, $resolution: Int!, $tokenID: String!, $quoteTokenID: String!, $pool: String!) {
  Trading {
    Pairs(
      orderBy: {ascending: Interval_Time_Start}
      where: {Interval: {Time: {Duration: {eq: $resolution}, Start: {since: $from, till: $to}}}, QuoteToken: {Id: {is: $quoteTokenID}}, Token: {Id: {is: $tokenID}}, Market: {Address: {is: $pool}}}
    ) {
      Interval {
        Time {
          Start
          Duration
          
        }
      }
      Token {
        Id
        Symbol
        Name
      }
      QuoteToken {
        Id
        Symbol
        Name
      }
      Volume {
        Usd
      }
      Supply {
        MarketCap
        TotalSupply
        FullyDilutedValuationUsd
      }
      Market {
        Name
        ProtocolFamily
      }
      Price {
        Ohlc {
          Open
          Close
          Low
          High
        }
      }
    }
  }
}

Variables

{
  "pool": "0xc2eab7d33d3cb97692ecb231a5d0e4a649cb539d",
  "quoteTokenID": "bid:eth:0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
  "tokenID": "bid:eth:0xaaee1a9723aadb7afa2810263653a34ba2c21c7a",
  "from": "2025-10-02T10:13:51Z",
  "resolution": 60,
  "to": "2026-04-03T10:13:51Z"
}

Similar queries