Validator Queries
The following queries can be performed using the scripts in the tools directory.
Validator Accounts List
Section titled “Validator Accounts List”List the validator account pubkeys and their on-chain indices.
Usage: validator_accounts_list.shExample
Section titled “Example”cd ethereum-node./tools/validator_accounts_list.sh(keymanager kind) local wallet
Showing 3 validator accountsView the eth1 deposit transaction data for your accounts by running `validator accounts list --show-deposit-data`
Account 0 | handicap-beagle-hunter[validating public key] 0xa5ec42c0084d979fa1a6e1159cf63d6a387ed86cc24e896d17c6b6a35eacb2f5c04400b7dbff10bd377195c8a2fd9ab6
Account 1 | whisker-kayak-peanuts[validating public key] 0xaff4bd663af39ea32969d8597f43b512474fd64e19fc9219223c1e729cf4e00f3b5ee4e4062ae6e516a975eae7a60edd
Account 2 | usually-much-kingbreak[validating public key] 0xb6df8dc0c4c8b7513434a572c256003f91a641bff054086f7378990df985599defbbed432087fcb71f303bf728638fd9
Validator indices:0xa5ec42c0: 11198090xaff4bd66: 11198100xb6df8dc0: 1119811Estimate Withdrawal Sweep
Section titled “Estimate Withdrawal Sweep”Estimate the next/previous automatic withdrawal “sweeps” of any validator. Any validator index or pubkey can be used, even if it is not yet a 0x01 type validator. As such, it is useful when timing validator conversions.
Usage: estimate-withdrawal-sweep.sh [options] validator1 [validator2 ...]Options: --no-banner Do not show banner --help, -h Show this messageExample
Section titled “Example”cd ethereum-node./tools/estimate-withdrawal-sweep.sh 93587 329469Target validator: 93587Approx. time since last withdrawal: -21:35:39Approx. time until next withdrawal: 23:15:26
Target validator: 329469Approx. time since last withdrawal: -21:35:38Approx. time until next withdrawal: 23:15:27Estimate Block Proposal Frequency
Section titled “Estimate Block Proposal Frequency”Calculate the expected average block proposal frequency.
Usage: estimate-bp-frequency.sh [options] validator1 [validator2 ...]Options: --no-banner Do not show banner --help, -h Show this messageExample
Section titled “Example”cd ethereum-node./tools/estimate-bp-frequency.sh 329469 1150854Validator: 329469Average time between block proposals: 174.2 days
Validator: 1150854Average time between block proposals: 2.7 days