Token prices v1
Returns DEX trades on Ethereum, where base currency is 0x6982…1933, quote currency is 0xdac1…1ec7 and time since 2024-11-10: day, base currency symbol, base currency address, quote currency symbol, quote currency address, quote price, quote amount and count.
What it returns
- day
- base currency symbol
- base currency address
- quote currency symbol
- quote currency address
- quote price
- quote amount
- count
Filters
- base currency is 0x6982…1933
- quote currency is 0xdac1…1ec7
- time since 2024-11-10
- time till 2024-11-20
The query
query EVMTokenPrice($address: String!, $from: ISO8601DateTime, $to: ISO8601DateTime) {
ethereum {
dexTrades(
baseCurrency: {is: $address}
quoteCurrency: {is: "0xdac17f958d2ee523a2206206994597c13d831ec7"}
time: {since: $from, till: $to}
) {
timeInterval {
day
}
baseCurrency {
symbol
address
}
quoteCurrency {
symbol
address
}
open: quotePrice(calculate: any)
close: quotePrice(calculate: anyLast)
high: quotePrice(calculate: maximum)
low: quotePrice(calculate: minimum)
volume: quoteAmount(calculate: sum)
count
}
}
}
Variables
{
"address": "0x6982508145454ce325ddbe47a25d4ec3d2311933",
"from": "2024-11-10",
"to": "2024-11-20"
}
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