duplicate meteora dbc entries

Returns the latest 100 DEX trades by token on Solana, where currency mint address is BzcYdK…YW85, side currency mint address is So1111…1112 and block time since 2025-09-11: block time, quantile of trade price in USD, median of trade price in USD, sum of trade side amount in USD, market address, protocol name, protocol family and program address.

By Divyasshree · saved 15 September 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

{
  Solana(dataset: realtime) {
    DEXTradeByTokens(
      limit: {count: 100}
      orderBy: {descendingByField: "Block_Time"}
      where: {Trade: {Currency: {MintAddress: {is: "BzcYdKm1ZJmzL4nD9cMAWr1DEbuuoDdjNMGLLcYHYW85"}}, PriceAsymmetry: {lt: 0.1}, Side: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}}, Block: {Time: {since: "2025-09-11T12:00:00Z", before: "2025-09-11T13:00:00Z"}}}
    ) {
      Block {
        Time(interval: {count: 1, in: hours})
      }
      min: quantile(of: Trade_PriceInUSD, level: 0.05)
      max: quantile(of: Trade_PriceInUSD, level: 0.95)
      close: median(of: Trade_PriceInUSD)
      open: median(of: Trade_PriceInUSD)
      volume: sum(of: Trade_Side_AmountInUSD)
      Trade {
        Market {
          MarketAddress
        }
        Dex {
          ProtocolName
          ProtocolFamily
          ProgramAddress
        }
      }
    }
  }
}

Similar queries