spl_token_2022::instruction

Function initialize_mint_close_authority

Source
pub fn initialize_mint_close_authority(
    token_program_id: &Pubkey,
    mint_pubkey: &Pubkey,
    close_authority: Option<&Pubkey>,
) -> Result<Instruction, ProgramError>
Expand description

Creates an InitializeMintCloseAuthority instruction