gill
gill/programs/system/Type aliases

AllocateWithSeedInstruction

type AllocateWithSeedInstruction<TProgram, TAccountNewAccount, TAccountBaseAccount, TRemainingAccounts> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountNewAccount extends string ? WritableAccount<TAccountNewAccount> : TAccountNewAccount, TAccountBaseAccount extends string ? ReadonlySignerAccount<TAccountBaseAccount> & AccountSignerMeta<TAccountBaseAccount> : TAccountBaseAccount, ...TRemainingAccounts]>;

Type Parameters

Type ParameterDefault type
TProgram extends stringtypeof SYSTEM_PROGRAM_ADDRESS
TAccountNewAccount extends string | AccountMeta<string>string
TAccountBaseAccount extends string | AccountMeta<string>string
TRemainingAccounts extends readonly AccountMeta<string>[][]

On this page