Function spl_token::instruction::initialize_account [−][src]
pub fn initialize_account(
token_program_id: &Pubkey,
account_pubkey: &Pubkey,
mint_pubkey: &Pubkey,
owner_pubkey: &Pubkey
) -> Result<Instruction, ProgramError>
Creates a InitializeAccount
instruction.