SerializedInstructionRule
Defined in: wallet-solana/src/serialized.ts:130
One instruction shape a provider transaction may carry (see SerializedTxGuard.instructions): the program, the first bytes of its data (an Anchor discriminator, an SPL tag), and the accounts it must pass at given positions.
Properties
Section titled “Properties”accounts?
Section titled “accounts?”
optionalaccounts?:Readonly<Record<number,string| readonlystring[]>>
Defined in: wallet-solana/src/serialized.ts:138
Accounts by position in the instruction: this address, or one of these. Lookup-table accounts are resolved first.
optionaldata?:string
Defined in: wallet-solana/src/serialized.ts:134
Hex the instruction data starts with (case-insensitive); omitted = any data.
dataLength?
Section titled “dataLength?”
optionaldataLength?:number
Defined in: wallet-solana/src/serialized.ts:136
Exact length of the instruction data in bytes, for fixed layouts.
program
Section titled “program”program:
string
Defined in: wallet-solana/src/serialized.ts:132
Program the instruction calls.