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).
Parameters
Section titled “Parameters”compiled
Section titled “compiled”instructions
Section titled “instructions”readonly object[]
accounts
Section titled “accounts”readonly object[]
readonly SerializedInstructionRule[]
Returns
Section titled “Returns”{ data: string; index: number; program: string; } | undefined