Query editor
WITH eth_supply AS ( -- check for accuracy: https://etherscan.io/chart/ethersupplygrowthSELECT 120251842 - SUM(eb.base_fee_per_gas*et.gas_used/POWER(10, 18))-- missing ETH2 rewards for now, awaiting beacon chain dataAS eth_supplyFROM ethereum.transactions etINNER JOIN ethereum.blocks eb ON eb.number = et.block_numberAND eb.time > CAST('2023-10-10' AS date)WHERE et.block_time > CAST('2023-10-10' AS date))SELECT 100.0*SUM(amount_staked-amount_full_withdrawn)/MAX(eth_supply) AS total_validatorsFROM query_2393816, eth_supplyWHERE validator_index >= 0