uniswap v3
Returns 3000 DEX trades on Ethereum, where base currency is 0x2260…c599, quote currency is 0xa0b8…eb48 and exchange name is Uniswap, sorted by time interval day, highest first: day, base currency symbol, base currency address, trade amount, base amount, quote currency symbol, quote currency address and 5 more fields.
What it returns
- day
- base currency symbol
- base currency address
- trade amount
- base amount
- quote currency symbol
- quote currency address
- quote amount
- count
- quote price
- minimum of block
- maximum of block
Filters
- base currency is 0x2260…c599
- quote currency is 0xa0b8…eb48
- exchange name is Uniswap
- protocol is Uniswap v3
- date before 2022-03-31
The query
query ($dex: String, $token0: String, $token1: String, $sinceDate: ISO8601DateTime, $limit: Int) {
ethereum(network: ethereum) {
dexTrades(
options: {limit: $limit, desc: "timeInterval.day"}
date: {before: $sinceDate}
exchangeName: {is: $dex}
baseCurrency: {is: $token0}
quoteCurrency: {is: $token1}
protocol: {is: "Uniswap v3"}
) {
timeInterval {
day
}
baseCurrency {
symbol
address
}
tradeAmount(in: USD)
baseAmount
quoteCurrency {
symbol
address
}
quoteAmount
trades: count
quotePrice
highPrice: quotePrice(calculate: maximum)
lowPrice: quotePrice(calculate: minimum)
openPrice: minimum(of: block, get: quote_price)
closePrice: maximum(of: block, get: quote_price)
}
}
}
Variables
{
"dex": "Uniswap",
"limit": 3000,
"sinceDate": "2022-03-31T21:00:00.000Z",
"token0": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
"token1": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
}
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