Token pools

Returns DEX pools on Solana, where base currency mint address is 7GCihg…W2hr, sorted by pool quote post amount in USD maximum, highest first: quote currency symbol, quote currency name, quote currency mint address, market address, protocol family, base post amount in USD and quote post amount in USD.

By Aleksey · saved 2 September 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query ($token: String) {
  Solana {
    DEXPools(
      orderBy: {
        descendingByField: "Pool_Quote_PostAmountInUSD_maximum"
      }
      
      where: {
      Pool: {
        Market: {
          BaseCurrency: {
            MintAddress: {
              is: $token
            }
          }
        }
      }
    }) {
      Pool {
        Market {
          QuoteCurrency {
            Symbol
            Name
            MintAddress
          }
          MarketAddress
        }
        Dex {
          ProtocolFamily
        }
        Base {
          PostAmountInUSD(maximum: Block_Slot)
        }
        Quote {
          PostAmountInUSD(maximum: Block_Slot)
        }
      }
    }
  }
}

Variables

{
  "token": "7GCihgDB8fe6KNjn2MYtkzZcRjQy3t9GHdC8uHYmW2hr"
}

Similar queries