Kit
Type aliases

IInstruction

IInstruction<TProgramAddress, TAccounts> = Instruction<TProgramAddress, TAccounts>

An instruction destined for a given program.

Type Parameters

Type ParameterDefault type
TProgramAddress extends stringstring
TAccounts extends readonly (/api/type-aliases/AccountLookupMeta | AccountMeta)[]readonly (/api/type-aliases/AccountLookupMeta | AccountMeta)[]

Deprecated

Use Instruction instead. It was only renamed.

Example

type StakeProgramInstruction = IInstruction<'StakeConfig11111111111111111111111111111111'>;

On this page