Ethereum_price__
Returns the latest DEX trade by token on Ethereum, where currency smart contract is 0xdAC1…1ec7 and side currency smart contract is 0xC02a…6Cc2: trade price.
What it returns
- trade price
Filters
- currency smart contract is 0xdAC1…1ec7
- side currency smart contract is 0xC02a…6Cc2
The query
query MyQuery {
EVM(dataset: realtime, network: eth) {
DEXTradeByTokens(
where: {Trade: {Currency: {SmartContract: {is: "0xdAC17F958D2ee523a2206206994597C13D831ec7"}}, Side: {Currency: {SmartContract: {is: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"}}}}}
orderBy: {descending: Block_Number}
limit: {count: 1}
) {
Trade {
Price
}
}
}
}
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