Function spl_token_2022::extension::confidential_transfer::instruction::withdraw
source ยท pub fn withdraw(
token_program_id: &Pubkey,
token_account: &Pubkey,
mint: &Pubkey,
amount: u64,
decimals: u8,
new_decryptable_available_balance: AeCiphertext,
authority: &Pubkey,
multisig_signers: &[&Pubkey],
proof_data_location: ProofLocation<'_, WithdrawData>,
) -> Result<Vec<Instruction>, ProgramError>
Expand description
Create a Withdraw
instruction