Undelegating From A Validator

How to undelegate your tokens from a validator

You can un-delegate tokens from a validator using the following command:

./psc --node="https://api.posichain.org" staking undelegate \
    --delegator-addr [YOUR ADDRESS] --validator-addr [VALIDATOR ADDRESS] \ 
    --amount [AMOUNT] --passphrase

Example:

./psc --node="https://api.posichain.org" staking undelegate \
    --delegator-addr 0xbD6FDD6d12169942764E5c9EE88A0aE3E9E48655 \
    --validator-addr 0x589577117AE579D977c9f63Cac1828e20D4e24da \ 
    --amount 10000 --passphrase

The CLI will ask for the passphrase for the delegator-addr keystore file.

--delegator-addr is the address of the delegator (string)

--validator-addr is the address of the validator (string)

--amount is the number of POSI tokens to un-delegate (float)

As a validator, for un-delegating from your own validator, delegator-addr and validator-addr will be the same.

When will I get my tokens back after un-delegating?

When you decide to un-delegate your tokens from a validator, your tokens will be released at the end of the epoch from when you un-delegate.

This means that you will NOT have access to these tokens and can NOT transfer them after choosing to un-delegate your tokens from a validator until the tokens are in your account.

If your validator didn't get elected in the last epoch, you will get the token back at the end of current epoch.

Last updated