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