OHLC for a useless token 5min test1

Returns the latest 10 DEX trades by token on Solana, where currency mint address is Dz9mQ9…bonk, block time since 2025-08-04 and block time till 2025-08-04: block time, sum of trade amount, trade price, currency name, currency mint address, side currency name, side currency mint address and count.

By Divyasshree · saved 4 August 2025 · run 6 times · Bitquery API v2

What it returns

Filters

The query

{
  Solana {
    DEXTradeByTokens(
      limit: {count: 10}
      orderBy: {descendingByField: "Block_Timefield"}
      where: {Trade: {Currency: {MintAddress: {is: "Dz9mQ9NzkBcCsuGPFJ3r1bS4wgqKMHBPiVuniW8Mbonk"}}, PriceAsymmetry: {lt: 0.1}}, Block: {Time: {since: "2025-08-04T12:35:00Z", till: "2025-08-04T12:40:00Z"}}}
    ) {
      Block {
        Timefield: Time(interval: {in: minutes, count: 5})
      }
      volume: sum(of: Trade_Amount)
      Trade {
        high: Price(maximum: Trade_Price)
        low: Price(minimum: Trade_Price)
        open: Price(minimum: Block_Slot)
        close: Price(maximum: Block_Slot)
        Currency {
          Name
          MintAddress
        }
        Side {
          Currency {
            Name
            MintAddress
          }
        }
      }
      count
    }
  }
}

Similar queries