redeem_tlp
Exchange unstaked TLP tokens for underlying assets, then call claim() to receive the collateral.
Instructions
Redeem TLP tokens (already unstaked) for underlying assets. ⚠️ This does NOT return tokens to your wallet directly — you must call claim() afterwards to receive the underlying collateral. Full flow: unstake → redeem_tlp → claim. Requires PRIVATE_KEY in .env.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| share | No | Amount of TLP shares to redeem (raw integer). Omit to redeem all. | |
| poolIndex | Yes | LP pool index. '0' = mTLP pool, '1' = iTLP pool. |