Query editor
With all_tx as (selectto as wallet,sum(cast(value as double)) as amountfrom erc20_ethereum.evt_Transferwhere contract_address = 0x3eE4B152824b657644c7A9B50694787e80EB8F4agroup by 1UNION ALLselect"from" as wallet,-sum(cast(value as double)) as amountfrom erc20_ethereum.evt_Transferwhere contract_address = 0x3eE4B152824b657644c7A9B50694787e80EB8F4agroup by 1)selectwallet,sum(amount) / power(10,18) as amountfrom all_txgroup by 1having sum(amount)/ power(10,18) >= .001 --adjust to remove dust walletsorder by amount desc