spl_token_2022::instruction

Function initialize_account

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

Creates a InitializeAccount instruction.