Function spl_token::instruction::close_account [−][src]
pub fn close_account(
token_program_id: &Pubkey,
account_pubkey: &Pubkey,
destination_pubkey: &Pubkey,
owner_pubkey: &Pubkey,
signer_pubkeys: &[&Pubkey]
) -> Result<Instruction, ProgramError>
Creates a CloseAccount
instruction.