fixed query
Returns 10 DEX trades on Ethereum, where block time till 2024-04-30 and block time since 2024-04-28, sorted by trade buy amount in USD, highest first: block time, buy smart contract, buy currency symbol, buy currency name, buy amount in USD, sell smart contract, sell currency symbol and 2 more fields.
What it returns
- block time
- buy smart contract
- buy currency symbol
- buy currency name
- buy amount in USD
- sell smart contract
- sell currency symbol
- sell currency name
- sell amount in USD
Filters
- block time till 2024-04-30
- block time since 2024-04-28
The query
query MyQuery {
EVM(dataset: combined, mempool: false, network: eth) {
DEXTrades(
limit: {count: 10}
where: {Block: {Time: {till: "2024-04-30T10:00:00Z", since: "2024-04-28T10:00:00Z"}}}
orderBy: {descending: Trade_Buy_AmountInUSD}
) {
Block {
Time(interval: {in: hours, count: 1})
}
Trade {
Buy {
Currency {
SmartContract
Symbol
Name
}
AmountInUSD(maximum: Trade_Buy_AmountInUSD)
}
Sell {
Currency {
SmartContract
Symbol
Name
}
AmountInUSD(maximum: Trade_Sell_AmountInUSD)
}
}
}
}
}
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