Function spl_token::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.