Get LP Latest liqudity

Returns DEX pools on Solana, where market market address is BDQnwN…w1vL, sorted by block slot, highest first: market address, base currency mint address, base currency symbol, base currency name, quote currency mint address, quote currency symbol, quote currency name and 6 more fields.

By Nikita · saved 22 August 2024 · run 3 times · Bitquery API v2

What it returns

Filters

The query

query GetLatestLiquidityForPool($address: String!) {
  Solana {
    DexPools(
      where: {Pool: {Market: {MarketAddress: {is: $address}}}}
      orderBy: {descending: Block_Slot}
    ) {
      Pool {
        Market {
          MarketAddress
          BaseCurrency {
            MintAddress
            Symbol
            Name
          }
          QuoteCurrency {
            MintAddress
            Symbol
            Name
          }
        }
        Dex {
          ProtocolFamily
          ProtocolName
        }
        Quote {
          PostAmount
          PriceInUSD
          PostAmountInUSD
        }
        Base {
          PostAmount
        }
      }
    }
  }
}

Variables

{"address": "BDQnwNhTWc3wK4hhsnsEaBBMj3sD4idGzvuidVqUw1vL"}

Similar queries