Skip to content
docs

SerializedTxGuard

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

optional allowUnknownPrograms?: boolean

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

Skip the allowlist (NOT the balance checks).


expect: SerializedExpectation

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

What the transaction may do to the wallet’s balances.


optional instructions?: readonly SerializedInstructionRule[]

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

Every top-level instruction must match one of these rules, or the transaction is refused (unexpected-instruction). For callers that know the exact instructions an operation takes — a lending deposit, say — where an extra withdrawal plus a transfer signed by the same key would otherwise pass as long as the net balances hold (scan 2026-10-27 modules, F1).


optional programAllowlist?: readonly string[]

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

Program ids the transaction may invoke. Default DEFAULT_PROGRAM_ALLOWLIST.