token_ohlc
Returns 5 DEX trades on Ethereum, where base currency is 0x1f98…f984 and time since 2024-05-16, sorted by trade amount, highest first: quote currency address, quote currency symbol, trade amount, count, maximum of block, minimum of block, maximum of quote price and minimum of quote price.
What it returns
- quote currency address
- quote currency symbol
- trade amount
- count
- maximum of block
- minimum of block
- maximum of quote price
- minimum of quote price
Filters
- base currency is 0x1f98…f984
- time since 2024-05-16
The query
{
ethereum(network: ethereum) {
dexTrades(
options: {desc: "tradeAmount", limit: 5}
baseCurrency: {is: "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984"}
time: {since: "2024-05-16T10:49:02Z"}
) {
quoteCurrency {
address
symbol
}
tradeAmount(in: USD)
trades: count
close_date_n_time: maximum(of: block, get: time )
open_date_n_time: minimum(of: block, get: time)
high_date_n_time: maximum(of: quote_price, get: time )
low_date_n_time: minimum(of: quote_price, get: time)
close_price: maximum(of: block, get: quote_price)
open_price: minimum(of: block, get: quote_price)
high_price: maximum(of: quote_price, get: quote_price)
low_price: minimum(of: quote_price, get: quote_price)
}
}
}
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