Query editor
WITHBridgeData AS (SELECT"from"FROMethereum.transactionsWHERE"to" = 0x32400084C286CF3E17e7B677ea9583e60a000324AND "value" > 0AND "success"),WalletsWithDistinctMonths AS (SELECT"from" AS addressFROMzksync.transactionsWHERE"from" IN (SELECT "from" FROM BridgeData)GROUP BY"from"HAVINGCOUNT(DISTINCT (date_trunc('month', block_time))) >= 3),eth_transfer_raw AS (SELECT"from" AS address,-1 * CAST(value AS DOUBLE) as amountFROMethereum.tracesWHEREcall_type = 'call'AND success = trueAND value > uint256 '0'AND "from" is NOT NULLAND "to" is NOT NULLUNION ALLSELECT"to" AS address,CAST(value AS DOUBLE) as amountFROMethereum.tracesWHEREcall_type = 'call'AND success = trueAND value > uint256 '0'AND "from" is NOT NULLAND "to" is NOT NULLUNION ALLSELECT"from" AS address,-1 * CAST(gas_price AS DOUBLE) * gas_used AS amountFROMethereum.transactionsWHEREsuccess = true)SELECTcount(address) as NUMFROM(