modify_multiple_token_time_filter
Returns DEX trades by token on Ethereum, where DEX smart contract is 0xc32C…1bE8, 0xa43f…ec9f or 1 more, currency smart contract is not 0xC02a…6Cc2 and block time since 2023-12-11: currency symbol, currency name, smart contract, count and sum of trade side amount.
What it returns
- currency symbol
- currency name
- smart contract
- count
- sum of trade side amount
Filters
- DEX smart contract is 0xc32C…1bE8, 0xa43f…ec9f or 1 more
- currency smart contract is not 0xC02a…6Cc2
- block time since 2023-12-11
The query
query MyQuery {
EVM(dataset: combined, network: eth) {
DEXTradeByTokens(
limitBy: {by: Trade_Dex_Pair_SmartContract}
where: {Trade: {Dex: {SmartContract: {in: ["0xc32C2d9768919DEaEE60F7eB163A293c6eb81bE8", "0xa43fe16908251ee70ef74718545e4fe6c5ccec9f", "0xc869d0764ecc6ac006578ea9c1f64908bef7d7c0"]}}, Currency: {SmartContract: {not: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"}}}, Block: {Time: {since: "2023-12-11T21:00:45Z"}}}
) {
Trade {
Currency {
Symbol
Name
SmartContract
}
}
uniqbuyers: count(distinct: Trade_Buyer)
uniqsellers: count(distinct: Trade_Seller)
txncount: count(distinct: Transaction_Hash)
noofsell: count(if: {Trade: {Side: {Type: {is: buy}}}})
noofbuy: count(if: {Trade: {Side: {Type: {is: sell}}}})
total_weth_buy_and_sold: sum(of: Trade_Side_Amount)
}
}
}
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