withdraw_stake
Withdraw SOL from a deactivated stake account on Solana by building an unsigned transaction. Specify amount or withdraw full balance after cooldown completes.
Instructions
Build an unsigned transaction to withdraw SOL from a deactivated stake account. Only works after cooldown completes. Omit amountSol to withdraw full balance.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| walletAddress | Yes | Wallet address that is the withdraw authority | |
| stakeAccountAddress | Yes | Deactivated stake account to withdraw from | |
| amountSol | No | Amount to withdraw in SOL (omit to withdraw full balance) |