Function spl_token_2022::instruction::close_account
source · pub fn close_account(
token_program_id: &Pubkey,
account_pubkey: &Pubkey,
destination_pubkey: &Pubkey,
owner_pubkey: &Pubkey,
signer_pubkeys: &[&Pubkey]
) -> Result<Instruction, ProgramError>
Expand description
Creates a CloseAccount
instruction.