History of Pool balances

Returns DEX pools on Solana, where market market address is HcjZvf…f7ur, sorted by block time: block time, base currency symbol, base currency name, base currency mint address, quote currency symbol, quote currency name, quote currency mint address and 2 more fields.

By Aleksey · saved 2 September 2024 · run 5 times · Bitquery API v2

What it returns

Filters

The query

query LiquidityPool($market: String!) {
  Solana {
    DEXPools(
      orderBy: {ascendingByField: "Block_Time"}
      where: {
        Pool: {
          Market: {
            MarketAddress: {
              is: $market
            }
          }
        }
      }
    ) {
    
      Block {
        Time(interval: {count: 1 in: minutes})
      }
      
      Pool {
        
        Market {
          BaseCurrency {
            Symbol
            Name
            MintAddress
          }
          QuoteCurrency {
            Symbol
            Name
            MintAddress
          }
        }
        
        Base {
          PostAmountInUSD(maximum: Block_Slot)
        }
        
        Quote {
          PostAmountInUSD(maximum: Block_Slot)
          
        }
        
      }
      
      
      
    }
  }
}

Variables

{
  "market": "HcjZvfeSNJbNkfLD4eEcRBr96AD3w1GpmMppaeRZf7ur"
}

Similar queries