Withdraw Stake
withdraw_stakePrepare an unsigned stake withdrawal transaction for local signing. Specify wallet, stake account, and optional SOL amount to withdraw (full withdrawal if omitted).
Instructions
Advanced: Build an unsigned withdraw transaction for local signing. Most agents should use the withdraw tool instead.
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": {
"walletAddress": "<walletAddress>",
"stakeAccountAddress": "<stakeAccountAddress>"
},
"name": "withdraw_stake"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| walletAddress | Yes | Wallet address | |
| stakeAccountAddress | Yes | Stake account | |
| amountSol | No | SOL to withdraw (omit for full) |