Liquidity Pool calculation

use variavbles: {"token":"2KchKijPuwnwC92LPWVjFjRwB3WxKtzx9bbXZ7kRpump"}

Returns DEX pools on Solana, where base currency mint address is DGVyG3…pump, sorted by pool quote post amount in USD maximum, highest first: base post amount in USD and quote post amount in USD.

By Alex IT · saved 11 December 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query LiqudityPool($token: String) {
              Solana {
                DEXPools(
                  orderBy: {descendingByField: "Pool_Quote_PostAmountInUSD_maximum"}
                  where: {Pool: {Market: {BaseCurrency: {MintAddress: {is: $token}}}}}
                ) {
                  Pool {
                    Base {
                      PostAmountInUSD(maximum: Block_Slot)
                    }
                    Quote {
                      PostAmountInUSD(maximum: Block_Slot)
                    }
                  }
                }
              }
            }

Variables

{"token":"DGVyG3kG56rbZ2MYWTXitG9sucWqKj73D6YZasjpump"}

Similar queries