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.
What it returns
- day
- full name
- domain
- symbol
Filters
- exchange name is Serum or Raydium
- base currency is SOL
- quote currency is USDC
- date since 2023-01-01
- date till 2023-12-31
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
}
}