Function spl_stake_pool::instruction::withdraw_sol
source · [−]pub fn withdraw_sol(
program_id: &Pubkey,
stake_pool: &Pubkey,
stake_pool_withdraw_authority: &Pubkey,
user_transfer_authority: &Pubkey,
pool_tokens_from: &Pubkey,
reserve_stake_account: &Pubkey,
lamports_to: &Pubkey,
manager_fee_account: &Pubkey,
pool_mint: &Pubkey,
token_program_id: &Pubkey,
pool_tokens: u64
) -> Instruction
Expand description
Creates instruction required to withdraw SOL directly from a stake pool.