Withdraw SOL (one-shot)
withdrawWithdraw SOL from deactivated stake accounts in one call. Send secret key via HTTPS for in-memory signing—never stored. Check readiness with check_withdraw_ready first. Omit amountSol to withdraw full balance.
Instructions
Withdraw SOL from a deactivated stake account in a single call. Secret key sent over HTTPS for in-memory signing, never stored. Use check_withdraw_ready first. Omit amountSol for full balance.
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>",
"secretKey": "<secretKey>",
"stakeAccountAddress": "<stakeAccountAddress>"
},
"name": "withdraw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| walletAddress | Yes | Your Solana wallet address (withdraw authority) | |
| secretKey | Yes | Your base58-encoded secret key — sent to Blueprint server over HTTPS for in-memory signing, never stored or logged | |
| stakeAccountAddress | Yes | Deactivated stake account to withdraw from | |
| amountSol | No | Amount to withdraw in SOL (omit to withdraw full balance) |