Token trades
Returns 10 DEX trades on Ethereum and Avalanche, where date since 2023-12-01 and date till 2023-12-19, sorted by count, highest first: sell currency symbol, sell currency address, sell amount, buy currency symbol, buy currency address, buy amount, count and 3 more fields.
What it returns
- sell currency symbol
- sell currency address
- sell amount
- buy currency symbol
- buy currency address
- buy amount
- count
- price
- maximum of block
- minimum of date
Filters
- date since 2023-12-01
- date till 2023-12-19
The query
query {
ethereum(network: avalanche) {
dexTrades(
options: {desc: "count", limit: 10}
date: {since: "2023-12-01", till: "2023-12-19"}
) {
sellCurrency {
symbol
address
}
sellAmount
sell_amount_usd: sellAmount(in: USD)
buyCurrency {
symbol
address
}
buyAmount
buy_amount_usd: buyAmount(in: USD)
count(baseCurrency: {is: "0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7"})
median_price: price(calculate: median)
last_price: maximum(of: block, get: price)
dates: count(uniq: dates)
started: minimum(of: date)
}
}
}
Similar queries
- Avalanche — Top DEXs by trade count · Avalanche · DEXTrades
- Avalanche — Latest DEX trades · Avalanche · DEXTrades
- avalanche · Avalanche · DEXTrades
- WAVAX/USDC Trades in period · Avalanche · DEXTrades
- AVAX Trades in period · Avalanche · DEXTrades