Query editor
with iv_raw as (select to as address,amount as amountfrom tokens.transfers awhere blockchain = '{{blockchain}}'and contract_address = {{contract_address}}union allselect "from" as address,-amount as amountfrom tokens.transfers awhere blockchain = '{{blockchain}}'and contract_address = {{contract_address}})select address,sum(amount) as token_amtfrom iv_rawgroup by 1order by 2 desc