Function spl_token_2022::instruction::initialize_mint2
source · pub fn initialize_mint2(
token_program_id: &Pubkey,
mint_pubkey: &Pubkey,
mint_authority_pubkey: &Pubkey,
freeze_authority_pubkey: Option<&Pubkey>,
decimals: u8
) -> Result<Instruction, ProgramError>
Expand description
Creates a InitializeMint2
instruction.