Updated on September 13, 2021
voluntary-exit
Create and sign a voluntary exit for the specified validator or set of validators.
Options
beacon-node-api-endpoint
teku voluntary-exit --beacon-node-api-endpoint=<ENDPOINT>
teku voluntary-exit --beacon-node-api-endpoint=http://192.138.10.12
TEKU_BEACON_NODE_ENDPOINT=http://192.138.10.12
beacon-node-api-endpoint: "http://192.138.10.12"
Endpoint of the beacon node’s REST API. The default is http://127.0.0.1:5051
.
config-file
teku voluntary-exit --config-file=<FILE>
teku voluntary-exit --config-file=/home/me/me_node/config.yaml
TEKU_CONFIG_FILE=/home/me/me_node/config.yaml
Path to the YAML configuration file.
The default is none
.
confirmation-enabled
teku voluntary-exit --confirmation-enabled=<BOOLEAN>
teku voluntary-exit --confirmation-enabled=false
TEKU_CONFIRMATION_ENABLED=false
confirmation-enabled: false
Specify whether to request confirmation when exiting a validator. The default is true
.
Danger
Exercise care when using this option because if set to false
, exits are generated immediately
without any prompt.
epoch
teku voluntary-exit --epoch=<EPOCH>
teku voluntary-exit --epoch=24500
TEKU_EPOCH=24500
Earliest epoch that the voluntary exit can be processed. The specified epoch can be a past epoch, or current epoch. You cannot specify a future epoch. The default is the current epoch.
Note
If there is a high number of validators that are queued to exit, then the validator exit may be processed at a later epoch.
validator-keys
teku voluntary-exit --validator-keys=<KEY_DIR>:<PASS_DIR> | <KEY_FILE>:<PASS_FILE>[,<KEY_DIR>:<PASS_DIR> | <KEY_FILE>:<PASS_FILE>...]...
teku voluntary-exit --validator-keys=/home/validator/keys:home/validator/passwords
teku voluntary-exit --validator-keys=/home/validator/keys/validator_217179e.json:/home/validator/passwords/validator_217179e.txt
TEKU_VALIDATOR_KEYS=/home/validator/keys:home/validator/passwords
validator-keys: "/home/validator/keys:home/validator/passwords"
Directory or file to load the encrypted keystores and passwords of the validators that you wish to
exit. Keystore files must use the .json
file extension, and password files must use the .txt
file extension.
When specifying directories, Teku expects to find identically named
keystore and password files. For example validator_217179e.json
and validator_217179e.txt
.
When specifying file names, Teku expects that the files exist.
Note
The path separator is operating system dependent, and should be ;
in Windows rather than :
.
validators-external-signer-public-keys
teku voluntary-exit --validators-external-signer-public-keys=<KEY>[,<KEY>...]
teku voluntary-exit --validators-external-signer-public-keys=0xa99a...e44c,0xb89b...4a0b
TEKU_VALIDATORS_EXTERNAL_SIGNER_PUBLIC_KEYS=0xa99a...e44c,0xb89b...4a0b
validators-external-signer-public-keys: ["0xa99a...e44c","0xb89b...4a0b"]
List of public keys of validators that you wish to voluntarily exit when using an external signer (for example, Web3Signer).
validators-external-signer-timeout
teku voluntary-exit --validators-external-signer-timeout=<INTEGER>
teku voluntary-exit --validators-external-signer-timeout=2000
TEKU_VALIDATORS_EXTERNAL_SIGNER_TIMEOUT=2000
validators-external-signer-timeout: 2000
Timeout in milliseconds for requests to the external signer. The default is 1000.
validators-external-signer-url
teku voluntary-exit --validators-external-signer-url=<URL>
teku voluntary-exit --validators-external-signer-url=http://localhost:9000
TEKU_VALIDATORS_EXTERNAL_SIGNER_URL=http://localhost:9000
validators-external-signer-url: "http://localhost:9000"
URL of the external signer (for example, Web3Signer).