MIne

Returns 1000 DEX trades by token on Solana, where DEX protocol name is pump and block time after 2025-02-19, sorted by block time: currency name, currency symbol, currency mint address, price in USD, side currency name, side currency mint address, sum of trade side amount in USD and block time.

By John Doe · saved 27 September 2025 · run 28 times · Bitquery API v2

What it returns

Filters

The query

{
  Solana(dataset: realtime) {
    DEXTradeByTokens(
      limit: {count: 1000}
      orderBy: {ascendingByField: "Block_Time"}
      limitBy: {by: Trade_Currency_MintAddress, count: 1}
      where: {
        Block: {Time: {after: "2025-02-19T00:00:00.000Z"}}, 
        Trade: {Dex: {ProtocolName: {is: "pump"}}}
      }
    ) {
      Trade {
        Currency {
          Name
          Symbol
          MintAddress
        }
        high: PriceInUSD(maximum: Trade_PriceInUSD)
        low: PriceInUSD(minimum: Trade_PriceInUSD)
        open: PriceInUSD(minimum: Block_Slot)
        close: PriceInUSD(maximum: Block_Slot)
        price: PriceInUSD(maximum: Trade_PriceInUSD)
        Side {
          Currency {
            Name
            MintAddress
          }
        }
      }
      volume: sum(of: Trade_Side_AmountInUSD)
      Block {
        Time(interval: {count: 1, in: hours})
      }
    }
  }
}

Similar queries