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.
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"
}
}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. |