Un-staking Tokens
Command
Tokens staked on SSC can be un-staked (unbonded) by using the following command:
sscd tx staking unbond <validator operator address> <amount-to-unbond> --from <key>Note that the tokens un-bonded from a validator are not available until the un-bonding periods (typically 21 days) has passed.
$ sscd tx staking unbond sagavaloper1rdssl22ysxyendrkh2exw9zm7hvj8d2jj6rezq \
30usaga --from ashish \
--node <address of an SSC node e.g. tcp://134.167.114.164:26657> \
--chain-id <Chain Id of the SSC chain e.g. ssc-1>
auth_info:
fee:
amount: []
gas_limit: "200000"
granter: ""
payer: ""
signer_infos: []
tip: null
body:
extension_options: []
memo: ""
messages:
- '@type': /cosmos.staking.v1beta1.MsgUndelegate
amount:
amount: "30"
denom: usaga
delegator_address: saga1rdssl22ysxyendrkh2exw9zm7hvj8d2ju346g3
validator_address: sagavaloper1rdssl22ysxyendrkh2exw9zm7hvj8d2jj6rezq
non_critical_extension_options: []
timeout_height: "0"
signatures: []
confirm transaction before signing and broadcasting [y/N]: y
code: 0
codespace: ""
data: ""
events: []
gas_used: "0"
gas_wanted: "0"
height: "0"
info: ""
logs: []
raw_log: '[]'
timestamp: ""
tx: null
txhash: 3A53E1C1C27A0E18F3A762095A89BF1E413736F9835063F64E99595735E98DFAThe above transaction was successful.
Next, we can check the delegated amounts to this validator and also see other information about the tokens we have unbonded.
Checking Unbonding-In-Progress Tokens
Tokens that were unbonded but are not fully available for use can be queried by:
Last updated