Copy of All Liquidity pairs of a token and current liquidity on solana

All Liquidity pairs of a token and current liquidity on solana

Returns 100 DEX pools on Solana, where base currency mint address is 9BB6NF…pump, quote currency mint address is So1111…1112 and block time after 2025-06-13, sorted by pool quote post amount in USD maximum, highest first: protocol family, market address, base post amount, base post amount in USD, quote post amount and quote post amount in USD.

By bkp bkp · saved 26 July 2025 · run 3 times · Bitquery API v2

What it returns

Filters

The query

query ($base: String, $quote: String, $time_ago: DateTime) {
  Solana {
    DEXPools(
      orderBy: {descendingByField: "Pool_Quote_PostAmountInUSD_maximum"}
      where: {Transaction: {Result: {Success: true}}, 
        Pool: {Market: {BaseCurrency: {MintAddress: {is: $base}}, 
          QuoteCurrency: {MintAddress: {is: $quote}}}}, 
        Block: {Time: {after: $time_ago}}}
      limit: {count: 100}
    ) {
      Pool {
        Dex {
          ProtocolFamily
        }
        Market {
          MarketAddress
        }
        Base {
          PostAmount(maximum: Block_Slot)
          PostAmountInUSD(maximum: Block_Slot)
        }
        Quote {
          PostAmount(maximum: Block_Slot)
          PostAmountInUSD(maximum: Block_Slot)
        }
      }
    }
  }
}

Variables

{
  "base": "9BB6NFEcjBCtnNLFko2FqVQBq8HHM13kCyYcdQbgpump",
  "quote": "So11111111111111111111111111111111111111112",
  "time_ago": "2025-06-13T04:46:49Z"
}

Similar queries