Copy of New Query

Returns the latest 10 time interval and exchange, where exchange name is Serum or Raydium, base currency is SOL and quote currency is USDC: day, full name, domain and symbol.

By yongbeomkim · saved 28 January 2025 · Bitquery API v1

What it returns

Filters

The query

{
  dexTrades(
    options: { limit: 10, desc: "block.height" }
    exchangeName: { in: ["Serum", "Raydium"] }
    baseCurrency: { is: "SOL" }
    quoteCurrency: { is: "USDC" }
    date: { since: "2023-01-01", till: "2023-12-31" }
  ) {
    timeInterval {
      day
    }
    exchange {
      fullName
      domain
    }
    baseCurrency {
      symbol
    }
    quoteCurrency {
      symbol
    }
    tradeAmount(in: USD)
    tradePrice
    trades: count
  }
}