Function solana_cli::stake::process_withdraw_stake
source · pub fn process_withdraw_stake(
rpc_client: &RpcClient,
config: &CliConfig<'_>,
stake_account_pubkey: &Pubkey,
destination_account_pubkey: &Pubkey,
amount: SpendAmount,
withdraw_authority: SignerIndex,
custodian: Option<SignerIndex>,
sign_only: bool,
dump_transaction_message: bool,
blockhash_query: &BlockhashQuery,
nonce_account: Option<&Pubkey>,
nonce_authority: SignerIndex,
memo: Option<&String>,
seed: Option<&String>,
fee_payer: SignerIndex,
compute_unit_price: Option<&u64>
) -> ProcessResult