Interfaces
InstructionWithData
An instruction whose data conforms to a certain type.
This is most useful when you have a branded Uint8Array
that represents a particular
instruction's data.
Example
Extends
Type Parameters
Type Parameter |
---|
TData extends ReadonlyUint8Array |
Properties
Property | Modifier | Type | Overrides | Inherited from |
---|---|---|---|---|
accounts? | readonly | readonly (/api/interfaces/AccountLookupMeta <string , string > | AccountMeta <string >)[] | - | Instruction .accounts |
data | readonly | TData | Instruction .data | - |
programAddress | readonly | Address <string > | - | Instruction .programAddress |