all pairs of sol token - Wrong liquidity

all pairs of sol token

Returns 5 DEX pools on Solana, where base currency mint address is 6p6xgH…GiPN, sorted by pool quote post amount in USD maximum, highest first: block time, quote currency symbol, quote currency name, quote currency mint address, market address, protocol family, base post amount and 3 more fields.

By Sean · saved 30 July 2025 · run 4 times · Bitquery API v2

What it returns

Filters

The query

query ($token: String) {
  Solana {
    DEXPools(
      orderBy: {descendingByField: "Pool_Quote_PostAmountInUSD_maximum"}
      limitBy:{by:Pool_Market_MarketAddress count:1}
      limit: {count: 5}
      where: {Pool: {Market: {BaseCurrency: {MintAddress: {is: $token}}}}}
    ) {
      Block{
        Time(maximum:Block_Time)
      }
      Pool {
        Market {
          QuoteCurrency {
            Symbol
            Name
            MintAddress
          }
          MarketAddress
        }
        Dex {
          ProtocolFamily
        }
        Base {
          PostAmount(maximum: Block_Slot)
          PostAmountInUSD(maximum: Block_Slot)
        }
        Quote {
          PostAmount(maximum: Block_Slot)
          PostAmountInUSD(maximum: Block_Slot)
        }
      }
    }
  }
}

Variables

{
  "token": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN"
}

Similar queries