Query editor
WITH token_holders AS (SELECT"to" AS holder,SUM(value) / 1e18 AS balance -- Assuming value is in Wei, divide by 1e18 to get the balance in the token's unitFROMerc20_ethereum.evt_TransferWHEREcontract_address = 0x2a92525fDA8D3AB481f8E2a913B64B64bD1c9fdDGROUP BY"to"UNION ALLSELECT"from" AS holder,-SUM(value) / 1e18 AS balanceFROMerc20_ethereum.evt_TransferWHEREcontract_address = 0x2a92525fDA8D3AB481f8E2a913B64B64bD1c9fdDGROUP BY"from")SELECTCOUNT(DISTINCT th.holder) AS unique_address_countFROMtoken_holders th;