unstake_redeem
Unstake TLP and redeem underlying tokens in one transaction, then call claim() to receive the collateral.
Instructions
Unstake and immediately redeem TLP for underlying tokens in one transaction. ⚠️ This does NOT return tokens to your wallet directly — you must call claim() afterwards to receive the underlying collateral. Requires PRIVATE_KEY in .env.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"stakePoolIndex": "<stakePoolIndex>",
"poolIndex": "<poolIndex>"
},
"name": "unstake_redeem"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| share | No | Amount of shares to unstake and redeem (raw integer). Omit to unstake and redeem 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. |