Kit
Interfaces

InstructionWithAccounts

An instruction that loads certain accounts.

Example

type InstructionWithTwoAccounts = InstructionWithAccounts<
    [
        WritableAccount, // First account
        RentSysvar, // Second account
    ]
>;

Extends

Type Parameters

Type Parameter
TAccounts extends readonly (/api/interfaces/AccountLookupMeta | AccountMeta)[]

Properties

PropertyModifierTypeOverridesInherited from
accountsreadonlyTAccountsInstruction.accounts-
data?readonlyReadonlyUint8Array-Instruction.data
programAddressreadonlyAddress<string>-Instruction.programAddress

On this page