RepositoryParity.io
  • Preparing search index...
  • The search index is not available
txwrapper-core
  • txwrapper-core
  • txwrapper-substrate/src/methods/staking/withdrawUnbonded
  • withdrawUnbonded

Function withdrawUnbonded

  • withdrawUnbonded(args, info, options): UnsignedTransaction
  • If 100% of staked funds are withdrawn, cleans up staking-related storage for the account and decrements the ref_count. Note that accounts that set session keys must remove them before calling this, else they will lose their Controller status and be unable to remove them without bonding some funds again.

    Can only be called when EraElectionStatus is Closed.

    Parameters

    • args: StakingWithdrawUnbondedArgs

      Arguments specific to this method.

    • info: BaseTxInfo

      Information required to construct the transaction.

    • options: OptionsWithMeta

      Registry and metadata used for constructing the method.

    Returns UnsignedTransaction

    • Defined in txwrapper-substrate/src/methods/staking/withdrawUnbonded.ts:26

Settings

Member Visibility
RepositoryParity.io
txwrapper-core
  • Loading...