CORRECT
Returns DEX trades on Ethereum, where base currency is 0xb1c0…e6cc, quote currency is 0xc02a…6cc2 and exchange name is Uniswap or Uniswap v2, sorted by time interval hour: hour, base currency symbol, base currency address, base amount, quote currency symbol, quote currency address, quote price and 3 more fields.
What it returns
- hour
- base currency symbol
- base currency address
- base amount
- quote currency symbol
- quote currency address
- quote price
- minimum of block
- maximum of block
- trade amount
Filters
- base currency is 0xb1c0…e6cc
- quote currency is 0xc02a…6cc2
- exchange name is Uniswap or Uniswap v2
- date since 2023-08-10
- date till 2023-08-18
The query
{
ethereum(network: ethereum) {
dexTrades(
options: {asc: "timeInterval.hour"}
date: {since: "2023-08-10", till: "2023-08-18"}
priceAsymmetry: {lteq: 10}
tradeAmountUsd: {gteq: 1}
exchangeName: {in: ["Uniswap", "Uniswap v2"]}
baseCurrency: {is: "0xb1c064c3f2908f741c9dea4afc5773238b53e6cc"}
quoteCurrency: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}
) {
timeInterval {
hour(count: 1)
}
baseCurrency {
symbol
address
}
baseAmount
quoteCurrency {
symbol
address
}
high: quotePrice(calculate: maximum)
low: quotePrice(calculate: minimum)
open: minimum(of: block, get: quote_price)
close: maximum(of: block, get: quote_price)
tradeAmount(calculate: sum, in: USDT)
}
}
}
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