Latest Token Order Pair
Returns 10 DEX trades on Ethereum, where sell currency is 0xc02a…6cc2, 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
- sell currency is 0xc02a…6cc2
The query
{
ethereum(network: ethereum) {
dexTrades(
options: {desc: "count", limit: 10}
sellCurrency: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}
) {
sellCurrency {
symbol
address
}
sellAmount
buyCurrency {
symbol
address
}
buyAmount
count
median_price: price(calculate: median)
last_price: maximum(of: block, get: price)
dates: count(uniq: dates)
started: minimum(of: date)
}
}
}
Variables
{
"limit": 10,
"offset": 0,
"network": "ethereum",
"from": null,
"till": null,
"dateFormat": "%Y-%m"
}
Similar queries
- Latest Curve DEX swaps on Ethereum · Ethereum · DEXTrades
- Top Curve liquidity pools by 24h volume on Ethereum · Ethereum · DEXTrades
- STRN_TOKEN_MULTIPLE_DECIMALS_DEX_TRADES · Ethereum · DEXTrades
- USDT DECIMAL SHOWING 0 · Ethereum · DEXTrades
- Trades - 0xEE61159E8A72A08371c52D62c19Efd0C7914f917 · Ethereum · DEXTrades