liqidity of all pools of a token

Historical data This query uses the realtime dataset (the default), which holds only a recent window - hours to days depending on the cube. For older data add a dataset to the top-level element: Solana(dataset: combined) archive full history combined archive + realtime in one result Archive and c

By Akshat · saved 20 February 2026 · run 18 times · Bitquery API v2

What it returns

The query

# Historical data
#   This query uses the realtime dataset (the default), which holds only a
#   recent window - hours to days depending on the cube.
#
#   For older data add a dataset to the top-level element:
#
#     Solana(dataset: combined)
#
#     archive   full history
#     combined  archive + realtime in one result
#
#   Archive and combined need the historical data add-on:
#   https://bitquery.io/pricing
#
# Datasets:  https://docs.bitquery.io/docs/graphql/dataset/archive/
# Retention: https://docs.bitquery.io/docs/graphql/data-coverage-retention/
#

query GetLatestLiquidityForPool {
  Solana(dataset: realtime) {
    DEXPools(
      where: {Pool:{Market:{BaseCurrency:{Name:{not:""}}QuoteCurrency:{Name:{not:""}}}} any: [{Pool: {Market: {BaseCurrency: {MintAddress: {is: "F5tfztTnE4sYsMhZT5KrFpWvHmYSfJZoRjCuxKPbpump"}}}}}, {Pool: {Market: {QuoteCurrency: {MintAddress: {is: "F5tfztTnE4sYsMhZT5KrFpWvHmYSfJZoRjCuxKPbpump"}}}}}], Transaction: {Result: {Success: true}}}
    ) {
      Pool {
        Market {
          MarketAddress
          BaseCurrency {
            MintAddress
            Symbol
            Name
          }
          QuoteCurrency {
            MintAddress
            Symbol
            Name
          }
        }
        Dex {
          ProtocolFamily
          ProtocolName
        }
        Quote {
          PostAmount(maximum:Block_Slot)
          PostAmountInUSD(maximum:Block_Slot)
        }
        Base {
          PostAmount(maximum:Block_Slot)
          PostAmountInUSD(maximum:Block_Slot)
        }
      }
    }
  }
}

Similar queries