Top trades for a specific currency for specific time
Returns 5 DEX trades on Ethereum, where buy currency smart contract is 0x586a…7bab, sell currency smart contract is 0xc02a…6cc2 and block time since 2023-08-10, sorted by trade sell amount, highest first: buy buyer, buy currency symbol, buy amount, sell amount, sell currency symbol, block time, transaction hash and 2 more fields.
What it returns
- buy buyer
- buy currency symbol
- buy amount
- sell amount
- sell currency symbol
- block time
- transaction hash
- transaction value
- cost
Filters
- buy currency smart contract is 0x586a…7bab
- sell currency smart contract is 0xc02a…6cc2
- block time since 2023-08-10
- block time till 2023-08-10
The query
query MyQuery {
EVM(dataset: combined, network: eth) {
DEXTrades(
limit: {count: 5}
orderBy: {descending: Trade_Sell_Amount}
where: {Trade: {Buy: {Currency: {SmartContract: {is: "0x586a7cFE21E55ec0E24f0bfB118F77fE4cA87bab"}}}, Sell: {Currency: {SmartContract: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}}}}, Block: {Time: {since: "2023-08-10T12:44:11Z", till: "2023-08-10T16:44:11Z"}}}
) {
Trade {
Buy {
Buyer
Currency {
Symbol
}
Amount
}
Sell {
Amount
Currency {
Symbol
}
}
}
Block {
Time
}
Transaction {
Hash
Value
Cost
}
}
}
}
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