Top Traded Pairs on Uniswap v2 Last 30 days
Returns 10 DEX trades on Ethereum, where protocol is Uniswap v2, date since 2023-04-02 and date till 2023-05-02, sorted by count, highest first: sell currency symbol, sell currency address, sell amount, buy currency symbol, buy currency address, buy amount, count and 4 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
- trade amount
Filters
- protocol is Uniswap v2
- date since 2023-04-02
- date till 2023-05-02
- trade amount USD is above 1000
The query
query ($network: EthereumNetwork!,$protocol:String!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
ethereum(network: $network) {
dexTrades(
options: {desc: "count", limit: $limit, offset: $offset}
date: {since: $from, till: $till}
tradeAmountUsd: {gt: 1000}
protocol: {is: $protocol}
) {
sellCurrency {
symbol
address
}
sellAmount
sell_amount_usd: sellAmount(in: USD)
buyCurrency {
symbol
address
}
buyAmount
buy_amount_usd: buyAmount(in: USD)
count
median_price: price(calculate: median)
last_price: maximum(of: block, get: price)
dates: count(uniq: dates)
started: minimum(of: date)
tradeAmount(in: USD)
}
}
}
Variables
{
"limit": 10,
"offset": 0,
"network": "ethereum",
"from": "2023-04-02",
"till": "2023-05-02T23:59:59",
"dateFormat": "%Y-%m-%d",
"protocol":"Uniswap v2"
}
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