tv pool evm

Returns pairs, where quote token ID is bid:eth:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48, token ID is bid:eth and time start since 2025-10-02, 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}},
        any: [
          {Market: {Address: {is: $pool}}},
          {Market: {Id: {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": "0x21c67e77068de97969ba93d4aab21826d33ca12bb9f565d8496e8fda8a82ca27",
  "quoteTokenID": "bid:eth:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
  "tokenID": "bid:eth",
  "from": "2025-10-02T10:39:00Z",
  "resolution": 60,
  "to": "2026-04-03T10:39:00Z"
}

Similar queries