last_7_days_price
Returns DEX trades by token on Ethereum, where side currency smart contract is 0x5149…86CA, currency smart contract is 0xC02a…6Cc2 and block date after 2024-03-13, sorted by block time: block time, trade price and side currency name.
What it returns
- block time
- trade price
- side currency name
Filters
- side currency smart contract is 0x5149…86CA
- currency smart contract is 0xC02a…6Cc2
- block date after 2024-03-13
The query
{
EVM(dataset: combined, network: eth) {
DEXTradeByTokens(
orderBy: {ascendingByField: "Block_Time"}
where: {Trade: {Side: {Currency: {SmartContract: {is: "0x514910771AF9Ca656af840dff83E8264EcF986CA"}}}, Currency: {SmartContract: {is: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"}}}, Block: {Date: {after: "2024-03-13"}}}
) {
Block {
Time(interval: {in: days, count: 1})
}
Trade {
Price(maximum: Block_Number)
Side {
Currency {
Name
}
}
}
}
}
}
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