Skip to content
docs

unexpectedInstruction

unexpectedInstruction(compiled, accounts, rules): { data: string; index: number; program: string; } | undefined

Defined in: wallet-solana/src/serialized.ts:206

The first top-level instruction no rule allows, or undefined when every one matches. Instructions are read from the compiled message with lookup-table accounts resolved (resolveCompiledAccounts).

readonly object[]

readonly object[]

readonly SerializedInstructionRule[]

{ data: string; index: number; program: string; } | undefined