Trade_OHLC_
Returns DEX trades on Ethereum, where base currency is 0x6982…1933, quote currency is 0xc02a…6cc2 and time since 2023-04-18: minute, base currency address, base currency symbol, quote currency address, quote currency symbol, quote price, minimum of block and maximum of block.
What it returns
- minute
- base currency address
- base currency symbol
- quote currency address
- quote currency symbol
- quote price
- minimum of block
- maximum of block
Filters
- base currency is 0x6982…1933
- quote currency is 0xc02a…6cc2
- time since 2023-04-18
- time till 2023-04-18
The query
query ($network: EthereumNetwork!, $from: ISO8601DateTime, $to: ISO8601DateTime) {
ethereum(network: $network) {
dexTrades(
time: {since: $from, till: $to}
baseCurrency : {is : "0x6982508145454ce325ddbe47a25d4ec3d2311933"}
quoteCurrency : {is : "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}
) {
timeInterval {
minute(count: 5)
}
baseCurrency {
address
symbol
}
quoteCurrency {
address
symbol
}
high: quotePrice(calculate: maximum)
low: quotePrice(calculate: minimum)
open: minimum(of: block, get: quote_price)
close: maximum(of: block, get: quote_price)
}
}
}
Variables
{
"network": "ethereum",
"from": "2023-04-18T21:30:00",
"to": "2023-04-18T21:35:00"
}
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