Price of token on a given day
Returns one DEX trade by token on Ethereum, where currency smart contract is 0x7fc6…dae9, side currency smart contract is 0xC02a…6Cc2 and block date is 2025-01-01, sorted by block time: average of trade price in USD.
What it returns
- average of trade price in USD
Filters
- currency smart contract is 0x7fc6…dae9
- side currency smart contract is 0xC02a…6Cc2
- block date is 2025-01-01
The query
{
EVM(dataset: combined, network: eth) {
DEXTradeByTokens(
where: {Block: {Date: {is: "2025-01-01"}}, Trade: {Currency: {SmartContract: {is: "0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9"}}, Side: {Currency: {SmartContract: {is: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"}}}}}
limit: {count: 1}
orderBy: {ascending: Block_Time}
) {
average(of: Trade_PriceInUSD)
}
}
}
Similar queries
- CRV hourly OHLC on Curve - Ethereum · Ethereum · DEXTradeByTokens
- Top Metric liquidity pools by 24h volume on Ethereum · Ethereum · DEXTradeByTokens
- ATH of eth token · Ethereum · DEXTradeByTokens
- historical price and historical volume · Ethereum · DEXTradeByTokens
- topTraders EVM · Ethereum · DEXTradeByTokens