Skip to main content

Withdraw Deposit

You can run this command anywhere, such as on your own computer or your VPS. You just need to know your mnemonic, which is used to generate your validator key.

Base Usage

1. Install ethdo

(Option 1) Download ethdo binary from the release version

Download the latest version of the binary program for the platform you are using now.

(Option 2) Use the following command to install ethdo via Golang:

go install github.com/wealdtech/ethdo@latest

Note: ethdo requires Go version 1.20 or higher to operate. You can check your Go version with the command: go version

2. Exit and Withdraw Online

To exit and withdraw, use the following command:

ethdo --connection https://beacon-rpc.endurancehub.org/ validator exit --mnemonic="abandon abandon abandon … art"
note

If the log "Connections to remote beacon nodes should be secure" is shown, it's acceptable because any non-local URL will remind you of this security risk.

This command will withdraw all validators associated with your mnemonic.

If no error logs are displayed after executing the command, you can verify the validator status on the Beacon Explorer.

Advanceed Usage

Use your own beacon node

Replace the URL with the --connection parameter and use any Beacon node URL in the Endurance network to complete this operation.

ethdo --connection http://<Any-Beacon-Node-HTTP> validator exit --mnemonic="abandon abandon abandon … art"

Reference the Validator Index

If you have used one mnemonic to deposit multiple validators and wish to exit only one of them, simply add the --validator parameter to specify the index of the validator.

ethdo --connection http://127.0.0.1:5052 validator exit --mnemonic="abandon abandon abandon … art" --validator=<Your-Validator-Index>