Query editor
WITH indexer AS (SELECTblock_time,block_number,"from" AS user_address,TRY_CAST(value AS DOUBLE) / 1e18 AS bridged_ethFROM ethereum.transactionsWHERE"to" = 0xD729345aA12c5Af2121D96f87B673987f354496BORDER BYblock_time DESC),total_bridged as (selectsum(indexer.bridged_eth) as totalfrom indexer),withdraw_indexer as (SELECTblock_time,TRY_CAST(value AS DOUBLE) / 1e18 AS eth_withdrawed,"to" AS user_withdrawFROM ethereum.tracesWHERE"from" = 0xD729345aA12c5Af2121D96f87B673987f354496B AND tx_success = TRUE AND call_type = 'call'ORDER BYblock_time DESC),total_withdraw as (selectsum(withdraw_indexer.eth_withdrawed) as withdraw_totalfrom withdraw_indexer)SELECTtotal_bridged.total,total_withdraw.withdraw_total as feth_withdrawed,total_bridged.total - total_withdraw.withdraw_total as net_flowFROM total_bridged, total_withdraw