Skip to content
docs

SimulationResult

SimulationResult = { logs: readonly string[]; ok: true; unitsConsumed: bigint; } | { error: string; logs: readonly string[]; ok: false; }

Defined in: wallet-solana/src/types.ts:139

Outcome of simulateTransaction: compute units used and logs, or the error and logs.