token price on dex overtime
Returns 7 DEX trades on Ethereum, where base currency is 0x4FbA…9B64, quote currency is 0xC02a…6Cc2 and exchange name is Uniswap, sorted by block timestamp day of week: day of week, count and quote price.
What it returns
- day of week
- count
- quote price
Filters
- base currency is 0x4FbA…9B64
- quote currency is 0xC02a…6Cc2
- exchange name is Uniswap
- time till 2024-05-11
- trade amount USD is above 0
The query
query getPrices($till: ISO8601DateTime) {
ethereum(network: ethereum) {
dexTrades(
options: {limit: 7, asc: "block.timestamp.dayOfWeek"}
baseCurrency: {is: "0x4FbAF51B95b024D0d7cab575Be2a1F0afEDC9B64"}
quoteCurrency: {is: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"}
tradeAmountUsd: {gt: 0}
time: {till: $till}
exchangeName: {is: "Uniswap"}
) {
block {
timestamp {
dayOfWeek
}
}
count
quotePrice(calculate: median)
}
}
}
Variables
{"till": "2024-05-11T00:00:00.000Z"}
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