GET-price-alternative

Returns one DEX pool on Solana, where market market address is BDQnwN…w1vL, sorted by block slot, highest first: quote post amount, quote price in USD, quote post amount in USD, base post amount and block height.

By Kshitij Mahajan · saved 24 September 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query GetLatestLiquidityForPool{
  Solana {
    DEXPools(
      where: {Pool: {Market: {MarketAddress: {is: "BDQnwNhTWc3wK4hhsnsEaBBMj3sD4idGzvuidVqUw1vL"}}}, Transaction: {Result: {Success: true}}}
      orderBy: {descending: Block_Slot}
      limit: {count: 1}
    ) {
      Pool {
        Quote {
          PostAmount
          PriceInUSD
          PostAmountInUSD
        }
        Base {
          PostAmount
        }
      }
      Block {
        Height
      }
    }
  }
}

Similar queries