CreateAccountInstruction
type CreateAccountInstruction<TProgram, TAccountPayer, TAccountNewAccount, TRemainingAccounts> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer, TAccountNewAccount extends string ? WritableSignerAccount<TAccountNewAccount> & AccountSignerMeta<TAccountNewAccount> : TAccountNewAccount, ...TRemainingAccounts]>;Type Parameters
| Type Parameter | Default type |
|---|---|
TProgram extends string | typeof SYSTEM_PROGRAM_ADDRESS |
TAccountPayer extends string | AccountMeta<string> | string |
TAccountNewAccount extends string | AccountMeta<string> | string |
TRemainingAccounts extends readonly AccountMeta<string>[] | [] |