Query editor
WITH mine AS (SELECT address FROM dune.zdcacaca5306.dataset_alltok),flows AS (SELECT contract_address, symbol, "to" w, amount aFROM tokens_bnb.transfersWHERE "to" IN (SELECT address FROM mine) AND token_standard <> 'native'UNION ALLSELECT contract_address, symbol, "from" w, -amount aFROM tokens_bnb.transfersWHERE "from" IN (SELECT address FROM mine) AND token_standard <> 'native')SELECT '0x'||to_hex(w) wallet, '0x'||to_hex(contract_address) token,symbol, sum(a) balFROM flows GROUP BY 1,2,3 HAVING sum(a) > 1e-9