historical ohlc

Returns the latest 100 DEX trades by token on Solana, where currency mint address is 22Xeo6…pump and trade price asymmetry is below 0.1: block time, sum of trade side amount in USD, price in USD and count.

By Akshat · saved 12 March 2026 · run 4 times · Bitquery API v2

What it returns

Filters

The query

{
  Solana(dataset: combined) {
    DEXTradeByTokens(
      orderBy: { descendingByField: "Block_Timefield" }
      where: {
        Trade: {
          Currency: { MintAddress: { is: "22Xeo6diWfJrScaoVFzgkwzrCByPukK45fdwkJyrpump" } }
          PriceAsymmetry: { lt: 0.1 }
        }
        Transaction:{Result:{Success:true}}
      }
      limit: { count: 100 }
    ) {
      Block {
        Timefield: Time(interval: { in: minutes, count: 1 })
      }
      volume: sum(of: Trade_Side_AmountInUSD)
      Trade {
        high: PriceInUSD(maximum: Trade_Price)
        low: PriceInUSD(minimum: Trade_Price)
        open: PriceInUSD(minimum: Block_Slot)
        close: PriceInUSD(maximum: Block_Slot)
      }
      trade_count: count
    }
  }
}

Similar queries