Copy of Copy of New Query

Returns DEX pools on Solana, where market market address is 6NUiVm…Rvyb and block time after 2025-03-16, sorted by block time: block time, base post amount in USD and quote post amount in USD.

By Gousay · saved 16 March 2025 · Bitquery API v2

What it returns

Filters

The query

query LiquidityPool($market: String!, $time_ago: DateTime) {
  Solana {
    DEXPools(
      orderBy: {ascendingByField: "Block_Time"}
      where: {Pool: {Market: {MarketAddress: {is: $market}}}, Block: {Time: {after: $time_ago}}}
    ) {
      Block {
        Time(interval: {count: 1, in: minutes})
      }
      Pool {
        Base {
          PostAmountInUSD(maximum: Block_Slot)
        }
        Quote {
          PostAmountInUSD(maximum: Block_Slot)
        }
      }
    }
  }
}

Variables

{
  "market": "6NUiVmsNjsi4AfsMsEiaezsaV9N4N1ZrD4jEnuWNRvyb",
  "time_ago": "2025-03-16T15:22:33Z"
}

Similar queries