Aggregated amounts
Returns DEX trades, where DEX protocol name is uniswap_v3, sorted by count, highest first: buy currency symbol, buy smart contract, sell currency symbol, sell smart contract, block time, count, sum of trade buy amount and sum of trade sell amount.
What it returns
- buy currency symbol
- buy smart contract
- sell currency symbol
- sell smart contract
- block time
- count
- sum of trade buy amount
- sum of trade sell amount
Filters
- DEX protocol name is uniswap_v3
The query
query MyQuery {
EVM {
DEXTrades(
where: {Trade: {Dex: {ProtocolName: {is: "uniswap_v3"}}}}
orderBy: {descendingByField: "count"}
) {
Trade {
Buy {
Currency {
Symbol
SmartContract
}
}
Sell {
Currency {
Symbol
SmartContract
}
}
}
Block {
Time(interval: {count: 1 in: hours})
}
count
buyAmount: sum(of: Trade_Buy_Amount)
sellAmount: sum(of: Trade_Sell_Amount)
}
}
}
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