ETH Price based on Date - Time
Returns the latest DEX trade on Ethereum, where base currency is 0xC02a…6Cc2, quote currency is 0xA0b8…eB48 and time before 2024-01-11: block height, timestamp time, base currency symbol, quote currency symbol and quote price.
What it returns
- block height
- timestamp time
- base currency symbol
- quote currency symbol
- quote price
Filters
- base currency is 0xC02a…6Cc2
- quote currency is 0xA0b8…eB48
- time before 2024-01-11
The query
{
ethereum(network: ethereum) {
dexTrades(
baseCurrency: {is: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"}
quoteCurrency: {is: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"}
options: {desc: ["block.height"], limit: 1}
time: {before: "2024-01-11T12:00:00.00"}
) {
block {
height
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
}
baseCurrency {
symbol
}
quoteCurrency {
symbol
}
quotePrice
}
}
}
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