Recently updated validators, with their balance and status
Typical query time: < 2 seconds
SELECT validator_index, balance_gwei / 1e9 as balance_eth, status, TO_TIMESTAMP(updated_at) as updated_at_timeFROM eth.beacon.validatorsORDER BY updated_at DESCLIMIT10
Number of validators, grouped by status
Typical query time: < 2 seconds
SELECTCOUNT(1) as num_validators, statusFROM eth.beacon.validatorsGROUP BYstatusORDER BYCOUNT(1) DESC
Validator with the highest balance
Typical query time: < 15 seconds
SELECT validator_index, balance_gwei / 1e9 AS balance_eth, status, TO_TIMESTAMP(updated_at) AS updated_at_timeFROM eth.beacon.validatorsWHERE balance_gwei = (SELECTmax(balance_gwei) AS max_balanceFROM eth.beacon.validators)
ENS Domain Names that map to a validator
Typical query time: < 30 seconds
SELECT ens.names, ens.eth_address, bls.validator_index, status, balance_gwei / 1e9 AS balance_ethFROM eth.beacon.bls_to_execution_changes AS blsLEFT JOIN eth.beacon.validators AS val ON val.validator_index = bls.validator_indexLEFT JOIN (SELECT eth_address, LISTAGG(name, ',') WITHINGROUP (ORDER BYname) AS"names"FROM ens.domainsGROUP BY eth_address) AS ens ON ens.eth_address = bls.to_execution_addressWHERE ens.names !=''ORDER BY balance_gwei DESCLIMIT100