Function spl_token_2022::instruction::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.