token price in query is wrong

Returns 10 tokens, where token ID is bid:eth:0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 and time duration is 300: token address, did, token ID, is native, token name, network, token symbol and 21 more fields.

By Aleksey · saved 30 July 2025 · Bitquery API v2

What it returns

Filters

The query

{
  Trading {
    Tokens(limit: {count: 10}, where: {
      Token: {
        Id: {
          is: "bid:eth:0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"
        }
      }
      Interval: {Time: {Duration: {eq: 300}}}}) {
      Token {
        Address
        Did
        Id
        IsNative
        Name
        Network
        Name
        Symbol
        TokenId
      }
      Currency {
        Symbol
        Id
        Name
      }
      Interval {
        VolumeBased
        Time {
          Start
          End
        }
      }
      Volume {
        Base
        BaseQuotedInUsd
        Quote
        Usd
      }
      Price {
        IsQuotedInUsd
        Ohlc {
          Close
          High
          Low
          Open
        }
        Average {
          Estimate
          ExponentialMoving
          Mean
          SimpleMoving
          WeightedSimpleMoving
        }
      }
		   diff:  calculate(expression:"Price_Ohlc_Close - Price_Ohlc_Open") 
    }
  }
}

Similar queries