Query editor
with raw as (select count(distinct "from") as unique_depositorFROM ethereum.tracesWHERE "to" = 0x00000000219ab540356cBB839Cbe05303d7705FaAND (LOWER(call_type) NOT IN ('delegatecall', 'callcode', 'staticcall') or call_type is null)AND successAND cast(value as double) > 0),eth_deposits AS (select sum(eth) as staked_eth from (SELECTSUM(CAST(value as double))/ 1e18 AS ethFROM ethereum.tracesWHERE "to" = 0x00000000219ab540356cBB839Cbe05303d7705FaAND (LOWER(call_type) NOT IN ('delegatecall', 'callcode', 'staticcall') or call_type is null)AND successAND cast(value as double) > 0AND block_time >= date('2020-11-03')union allselect count(distinct validator_index)*-32 AS ethfrom ethereum.withdrawalswhere cast(amount as double)>20*1e9)a)select unique_depositor, staked_eth as total_staked_eth, staked_eth/32 as validators_count,staked_eth*price/1000000000 mcap_staked_ethfrom eth_deposits,raw, prices.usd_latest bwhere b.contract_address is null and symbol = 'ETH'