API Reference

Withdraw

Withdraw from an active stake account (to claim MEV rewards) or inactive stake account (unstake completion)

stake_account: stake account address (see SOL Staking 101 for definition)

recipient_account: optional system account to withdraw to

amount_sol: amount to withdraw. Defaults to entire balance

network: mainnet or devnet

Language