Wemix (WEMIX)
Stakeable addresses
| Wallet type | Address type |
|---|---|
| Centralized wallet | Main address / fee address |
| Child address withdrawal wallet | Main address / fee address / child address |
Wemix has no Approve step. Therefore, the Request Approve API and the Get Approve Request Info API are not used.
1. Stake
Call the Request Stake API to deposit assets into the network. If there is interest accumulated in the address, you can restake it or withdraw it. See the options below.
| Option | Description |
|---|---|
restake | Restakes the accumulated interest. |
withdraw | Withdraws all of the accumulated interest. |
nothing | Leaves the accumulated interest as is. |
2. Unstake
Call the Request Unstake API to release the assets deposited in the network. This is called unbond.
When released, the deposited principal must wait for withdrawal during the unbonding period. The unbonding period takes about 7 days, and you can check the remaining period in blocks. You can check the withdrawal waiting status with the tokenId assigned at release.
The interest accumulated during the deposit period can be withdrawn to the original address or deposited again. However, if you release all of the deposited assets, all of the interest is withdrawn together.
3. Claim
Once the unbonding period has passed and the assets become withdrawable, call the Request Claim API to withdraw them to the original address. You must enter the tokenId when withdrawing. You can check whether withdrawal is possible by calling the Get Unstake Status API.
| Status | Description |
|---|---|
AWAITING_UNLOCKED | Locked up. Cannot be withdrawn. |
AWAITING_CLAIM | Lock-up released and claimable. Can be withdrawn. |
CONTRACT_EXECUTION_CREATED | A claim has been requested |