Withdraw the token from the pool at the current ratio, specifying a
minimum expected output lamport amount.
Succeeds if the stake account has enough SOL to cover the desired
amount of pool tokens, and if the withdrawal keeps the total
staked amount above the minimum of rent-exempt amount plus max( crate::MINIMUM_ACTIVE_STAKE, solana_program::stake::tools::get_minimum_delegation() ).
0. [w] Stake pool
[w] Validator stake list storage account
[] Stake pool withdraw authority
[w] Validator or reserve stake account to split
[w] Uninitialized stake account to receive withdrawal
[] User account to set as a new withdraw authority
[s] User transfer authority, for pool token account
[w] User account with pool tokens to burn from
[w] Account to receive pool fee tokens
[w] Pool token mint account
[] Sysvar clock account (required)
[] Pool token program id
[] Stake program id,
User data: amount of pool tokens to withdraw
Withdraw the token from the pool at the current ratio, specifying a minimum expected output lamport amount. Succeeds if the stake account has enough SOL to cover the desired amount of pool tokens, and if the withdrawal keeps the total staked amount above the minimum of rent-exempt amount plus
max( crate::MINIMUM_ACTIVE_STAKE, solana_program::stake::tools::get_minimum_delegation() ). 0.[w]Stake pool[w]Validator stake list storage account[]Stake pool withdraw authority[w]Validator or reserve stake account to split[w]Uninitialized stake account to receive withdrawal[]User account to set as a new withdraw authority[s]User transfer authority, for pool token account[w]User account with pool tokens to burn from[w]Account to receive pool fee tokens[w]Pool token mint account[]Sysvar clock account (required)[]Pool token program id[]Stake program id, User data: amount of pool tokens to withdraw