ohlc query

Returns the latest 10 DEX trades by token on Solana, where currency mint address is 9rf2wW…pump, block time since 2026-04-01 and block time till 2026-04-01: block time, sum of trade amount, price in USD, side currency mint address and count.

By gaurav · saved 1 April 2026 · run 6 times · Bitquery API v2

What it returns

Filters

The query

{
  Solana(dataset: archive) {
    DEXTradeByTokens(
      orderBy: {descendingByField: "Block_Timefield"}
      where: {Block: {Time: {since: "2026-04-01T03:29:00Z", till: "2026-04-01T03:30:00Z"}}, Trade: {Currency: {MintAddress: {is: "9rf2wWysnrSGjJ4oJc7CofVcnsxdADpkhpf1AywPpump"}}}}
      limit: {count: 10}
    ) {
      Block {
        Timefield: Time(interval: {in: minutes, count: 1})
      }
      volume: sum(of: Trade_Amount)
      Trade {
        high: PriceInUSD(maximum: Trade_PriceInUSD)
        low: PriceInUSD(minimum: Trade_PriceInUSD)
        open: PriceInUSD(minimum: Block_Slot)
        close: PriceInUSD(maximum: Block_Slot)
      Side{
        Currency{
          MintAddress
        }
      }
      }
      count
    }
  }
}

Similar queries