Unstake your CHZ
Last updated
Last updated
After delegating CHZ to a Chiliz Chain validator, there might come a time when you want to take some of your CHZ back, or "undelegate & claim" them.
The good news is that you can start this process at any moment, with any amount you choose.
There's a wait-time between undelegating your tokens and claiming them back.
Spicy Testnet:
1 epoch is equivalent to approximately 1 hour.
Once you undelegate CHZ, you need to wait 1 epoch to claim them.
Chiliz Mainnet:
1 epoch is equivalent to approximately 1 day (28,800 blocks).
Once you undelegate CHZ, you need to wait approximately 8 days (7 full epochs, or 230,400 blocks) to claim them.
Follow these steps:
Connect your MetaMask wallet to the Chiliz Staking dApp.
Locate the Undelegate button and click on it.
Enter the amount of CHZ you want to undelegate.
Click Submit. At this time, you can't withdraw the undelegated CHZ yet.
Wait 230,400 blocks (8 days for Chiliz Mainnet, much less for Spicy Tesnet). Once this has passed, your undelegated CHZ can be claimed.
Find the Claim button on the validator you are currently staking to and click on it.
And you're done!
About the cooling period Note the "The undelegated CHZ will be claimable in 230400 Blocks." message in the Undelegate window. Why is that? When you undelegate CHZ, there is an "undelegate period" (or cooling period) that exists, during which your CHZ are not yet available to you. This period lasts 7 full epochs (or 230,400 blocks, or to put it simply, at least 8 days).
That is why, after clicking the Submit button, your amount of undelegated CHZ will appear in the "Pending" section of the governance page, until 7 full epochs have passed. After those 7 full epochs have passed, your CHZ will be in the "Claimable" section, meaning that you can claim them using the "Claim" button that now appears in the interface.
The cooling period technically takes 7 full epochs to complete, but to account for the initial epoch's conclusion, it's safer to wait for the start of the 8th epochs (at 230,400 blocks, or roughly 8 days). Indeed, when estimating, you must factor in the current epoch's end and 7 subsequent ones.
When you undelegate your CHZ, you cannot undelegate again right away. You need to wait for the end of the "undelegate period" in order to do so.
A reminder on compound reward
Your rewards are compounded to your staked CHZ. This way, even your rewards can bring you even more rewards.
The rewards cannot be claimed separately; you have to undelegate your CHZ then claim them all, including the compounded reward.
You can claim your CHZ rewards when roughly 8 days (230400 blocks) have passed since you undelegated them from your stake.
Hence, you must first undelegate a given amount (see above), wait 8 days, then follow the relevant steps below...
Once you have undelegated your CHZ and waiting the necessary 8 days, you can do the following:
Connect your MetaMask wallet to the Chiliz Staking dApp.
Find the "Claim" button on the validator you are currently staking to and click on it.
This will open your MetaMask wallet: confirm the transaction, and you're done!
As for your reward, since the system auto-compounds itself, your reward is ultimately part of your stake, and thus of your undelegated/claimed CHZ.
As a Chiliz Chain Validator, you receive two types of rewards:
your validator commission fee,
rewards accumulated based on your original stake.
Those two rewards are nonetheless compounded, and cannot be separated when undelegating and claiming CHZ.
Note: The validator commission can only be claimed by the validator node address.
Once you have undelegated your CHZ and waiting the necessary 8 days, you can do the following:
Connect your MetaMask wallet to the Chiliz Staking dApp.
This will open your MetaMask wallet: confirm the transaction, and you're done!
The procedure is the same, except for these details:
Staking dApp: https://spicy-governance.chilizchain.com/staking
Epoch: roughly equivalent to 1 hour.
Wait time until you can claim: 1 epoch.
Find the "Claim Validator Rewards" button in your validator row, and click on it.