USDC All time high low template v1
Get All time high and low price of USDT (Tether) token on Ethereum network aggregated on multiple DEXs
What it returns
- month
- base currency name
- quote currency name
- quote price
- minimum of block
- maximum of block
Filters
- base currency is 0xdac1…1ec7
- quote currency is 0xa0b8…eb48
- time since 2021-01-13
- time till 2023-06-20
The query
#This query retrieves dex trades for any currency against USDT in a particular timeframe
query myquery($network: EthereumNetwork, $from: ISO8601DateTime, $till: ISO8601DateTime, $quoteCurrency: String) {
ethereum(network: $network) {
dexTrades(
baseCurrency: {is: "0xdac17f958d2ee523a2206206994597c13d831ec7"}
quoteCurrency: {is: $quoteCurrency}
time: {since: $from, till: $till}
options: {limit: 10, desc: "timeInterval.month"}
) {
timeInterval {
month(format: "%FT%TZ", count: 12)
}
baseCurrency {
name
}
quoteCurrency {
name
}
high: quotePrice(calculate: maximum)
low: quotePrice(calculate: minimum)
open: minimum(of: block, get: quote_price)
close: maximum(of: block, get: quote_price)
}
}
}
Variables
{
"from": "2021-01-13T00:00:00Z",
"till": "2023-06-20T00:00:00Z",
"network": "ethereum",
"quoteCurrency": "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