spl_token_2022::instruction

Function initialize_account2

Source
pub fn initialize_account2(
    token_program_id: &Pubkey,
    account_pubkey: &Pubkey,
    mint_pubkey: &Pubkey,
    owner_pubkey: &Pubkey,
) -> Result<Instruction, ProgramError>
Expand description

Creates a InitializeAccount2 instruction.