Skip to content
docs

SimulationPreview

Defined in: types.ts:169

What simulateTransaction said.

readonly balances: BalanceChanges | null

Defined in: types.ts:178

null when the RPC returned no pre/post balances.


readonly error: PreviewValue

Defined in: types.ts:172

The transaction error, as the RPC reports it, when ok is false.


readonly fee: bigint | null

Defined in: types.ts:176

The fee the transaction would pay, lamports, when the RPC reports it.


readonly innerInstructions: readonly object[]

Defined in: types.ts:180

Inner instructions per top-level instruction, decoded, when the RPC returned them.


readonly logs: readonly string[]

Defined in: types.ts:173


readonly ok: boolean

Defined in: types.ts:170


readonly unitsConsumed: bigint | null

Defined in: types.ts:174