unstake
Redeem staked TLP tokens by specifying stake pool and LP pool indices, starting the unlock countdown. Provide a share amount for partial redemption or omit to withdraw the entire stake.
Instructions
Begin unstaking TLP (starts the unlock countdown). Requires PRIVATE_KEY in .env.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| share | No | Amount of shares to unstake (raw integer). Omit to unstake all. | |
| poolIndex | Yes | LP pool index. '0' = mTLP pool, '1' = iTLP pool. Must match stakePoolIndex. | |
| stakePoolIndex | Yes | Stake pool index. '0' = mTLP stake pool, '1' = iTLP stake pool. |