Leave the network as a validator

  1. Deactivate your broadcaster account.
Terminal window
axelard tx snapshot deactivate-proxy --from validator -y -b block
  1. Query your network’s key‐rotation window and (optionally) opt out of future rotations.
  • Fetch the multisig module parameters and note the activeEpochCount
Terminal window
axelard query multisig params

💡

Note: Fetching the activeEpochCount ensures you know exactly how many rotation cycles you must wait before none of your keys remain active

  1. Wait for your keys to fully rotate out.
  • Key rotation runs roughly once per day. You must wait activeEpochCount full rotations (e.g. 5 days by default) after deactivating your proxy (and/or after opt-out) before no of your keys remain in the edge contract’s active list. Only then can you safely unbond
  1. Release your staked coins.
Terminal window
axelard tx staking unbond [axelarvaloper address] [amount]uaxl --from validator -y -b block

eg:

Terminal window
axelard tx staking unbond "$(axelard keys show validator --bech val -a)" 100000000uaxl --from validator -y -b block

amount refers to how many coins you wish to remove from the stake. You can change the amount.

To preserve network stability, the staked coins are held for roughly 1 day starting from the unbond request before being unlocked and returned to the validator account.

Edit on GitHub