Pumpswap PoolsByMints

Returns the latest 200 DEX trades by token on Solana: block time and market address.

By TKYaqing · saved 24 November 2025 · run 1 time · Bitquery API v2

What it returns

The query

query PoolsByMints(
  $mints: [String!]!,
  $count: Int = 200,
) {
  Solana(network: solana) {
    DEXTradeByTokens(
      where: {
        Trade: {
          Currency: { MintAddress: { in: $mints } }          # mint A or B on the "Trade" side
          Side:     { Currency: { MintAddress: { in: $mints } } }  # mint A or B on the "Side" (counter) side
          # Optional hygiene filters:
          # PriceAsymmetry: { lt: 0.1 }                         # drop extreme outliers
        }
      }
      orderBy: { descendingByField: "Block_Time" }
      limit: { count: $count }
    ) {
      Block { Time }
      Trade {
        Market {
          MarketAddress
        }
      }
    }
  }
}

Variables

{
  
}

Similar queries