Query editor
with res as(SELECT depositor_address as address,amount_staked as amountfrom staking_ethereum.flowswhere depositor_address is not nulland amount_staked>0and block_time<cast('2024-01-01 00:00' as timestamp)union allSELECT depositor_address as address,-amount_full_withdrawn as amountfrom staking_ethereum.flowswhere depositor_address is nulland amount_full_withdrawn>0and block_time<cast('2024-01-01 00:00' as timestamp))select address,sum(amount) as net_ETH_holding_on_beaconfrom reswhere amount is not nulland address is not nullgroup by addressorder by 2 desc