RoniAnalytics_ohlcv_dexTrades
Returns the latest DEX trades, where DEX smart contract is 0x88e6…5640 and buy currency smart contract is 0xc02a…6cc2: block time, buy price, buy price in USD, buy smart contract and buy currency symbol.
What it returns
- block time
- buy price
- buy price in USD
- buy smart contract
- buy currency symbol
Filters
- DEX smart contract is 0x88e6…5640
- buy currency smart contract is 0xc02a…6cc2
The query
{
EVM(dataset: realtime) {
DEXTrades(
orderBy: {descendingByField: "Block_timestamp"}
where: {Trade: {Dex: {SmartContract: {is: "0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640"}}, Buy: {Currency: {SmartContract: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}}}}}
) {
Block {
timestamp: Time(interval: {in: minutes, count: 5})
}
Trade {
Buy {
high: Price(maximum: Trade_Buy_Price)
low: Price(minimum: Trade_Buy_Price)
open: Price(minimum: Block_Number)
close: Price(maximum: Block_Number)
highInUSD: PriceInUSD(maximum: Trade_Buy_PriceInUSD)
lowInUSD: PriceInUSD(minimum: Trade_Buy_PriceInUSD)
openInUSD: PriceInUSD(minimum: Block_Number)
closeInUSD: PriceInUSD(maximum: Block_Number)
Currency {
SmartContract
Symbol
}
}
}
}
}
}
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