Restaking
How to Restake on Tangle
How to Restake: PolkadotJS
Withdraw

Withdraw Using PolkadotJS

You can only withdraw your "undelegated" (unstaked) assets. Make sure you have undelegated your assets before withdrawing. See the Unstake page for more information.

Withdrawing is the process of releasing assets from the multiasset delegation vault.

Similar to unstaking, it is composed of two steps:

  1. A withdrawal request is scheduled, which will be available for execution after its unstake period.
  2. After the unstake period, you can execute the withdrawal to actually release the assets.

Accessing the PolkadotJS Interface

For convenience, here are the PolkadotJS direct links for Tangle Testnet and Mainnet:

Schedule Withdraw

The first step to complete a withdraw is to schedule a withdrawal. This is done by calling the schedule_withdraw function.

  • Navigate to the DeveloperExtrinsics tab on PolkadotJS.

PolkadotJS Extrinsics

  • Under the multiAssetDelegation section, select scheduleWithdraw(...) and enter the asset ID along with the amount of assets to withdraw.

PolkadotJS ScheduleWithdraw

  • Sign and submit the transaction. Make sure the account you are using has enough balance to cover the transaction fee.

Execute Withdraw

The second step to complete a withdraw is to execute the withdrawal. This is done by calling the execute_withdraw function.

  • Navigate to the DeveloperExtrinsics tab on PolkadotJS.

PolkadotJS Extrinsics

  • Under the multiAssetDelegation section, select executeWithdraw().
  • Notice that there aren't any inputs for this function. This is because calling the function will execute all pending withdraw requests that have reached their maturity.

PolkadotJS ExecuteWithdraw

  • Sign and submit the transaction. Make sure the account you are using has enough balance to cover the transaction fee.