ArchiveCandles Solana

Returns the latest 100 DEX trades by token on Solana, where currency mint address is 5xzWJd…XojF, block time since 2026-09-11 and block time till 2026-09-11: block time, price in USD, count, sum of trade amount and sum of trade amount in USD.

By Divyasshree · saved 14 September 2026 · Bitquery API v2

What it returns

Filters

The query

query ArchiveCandles($mint: String!, $start: DateTime!, $end: DateTime!, $limit: Int!) {
  Solana(dataset: realtime) {
    DEXTradeByTokens(where: {Transaction: {Result: {Success: true}}, Trade: {Currency: {MintAddress: {is: $mint}}},
      Block: {Time: {since: $start, till: $end}}},
      orderBy: {descendingByField: "Block_Time"}, limit: {count: $limit}) {
      Block { Time(interval: {in: minutes, count: 1}) }
      Trade { open: PriceInUSD(minimum: Block_Slot) high: PriceInUSD(maximum: Trade_PriceInUSD)
        low: PriceInUSD(minimum: Trade_PriceInUSD) close: PriceInUSD(maximum: Block_Slot) }
      trades: count
      volume: sum(of: Trade_Amount)
      volumeUSD: sum(of: Trade_AmountInUSD)
    }
  }
}

Variables

{
  "mint": "5xzWJdM1UNPcMPW5KobExTUUgK81oiWoXKm8hMvNXojF",
  "start": "2026-09-11T03:10:00Z",
  "end": "2026-09-11T03:35:59Z",
  "duration": 60,
  "limit": 100
}

Similar queries