V2_Token_Price
Returns DEX trades by token on Ethereum, where currency smart contract is 0xc02a…6cc2 and side currency smart contract is 0xcd00…a8da: trade price, currency symbol and smart contract.
What it returns
- trade price
- currency symbol
- smart contract
Filters
- currency smart contract is 0xc02a…6cc2
- side currency smart contract is 0xcd00…a8da
The query
query MyQuery {
EVM(dataset: combined, network: eth) {
DEXTradeByTokens(
where: {Trade: {Currency: {SmartContract: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}}, Side: {Currency: {SmartContract: {is: "0xcd0063eaf579951c8be2018345e1ac19bdcfa8da"}}}}}
) {
Trade {
Price(maximum: Block_Number)
Currency{
Symbol
SmartContract
}
}
}
}
}
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