Skip to main content

SimulateTransaction gRPC Method

Simulates a transaction to preview its effects without executing it on the network.

Updated on
Oct 21, 2026

Parameters

transaction
object
REQUIRED

Unsigned transaction data, supplied as structured fields or a Bcs object. Simulation does not require signatures.

read_mask
object

Field mask for the simulation response, for example transaction.effects.status, transaction.transaction, and command_outputs. Omitted fields are not returned.

checks
string

Whether checks should be ENABLED (default) or DISABLED during simulation

do_gas_selection
boolean

Select gas payment automatically when true. With gas selection disabled and no gas payment, simulation uses mock gas; this does not prove that the sender can pay for execution.

Returns

transaction
object

Simulated execution data. Fields depend on read_mask; this is not an on-chain receipt.

transaction
object

Resolved transaction data. Its expiration may carry allowed proposers when server and client compatibility requirements are met.

effects
object

Simulation effects; selected by the read mask.

status
object

Execution outcome.

success
boolean

Whether simulated execution succeeded.

error
object

Execution error, present only when simulation fails.

events
object

Events, when requested and emitted.

balanceChanges
array

Balance changes, when requested.

objects
array

Objects, when requested.

commandOutputs
array

Per-command results, when selected by the read mask.

returnValues
array

Returned values, when present.

value
object

BCS-encoded value, when present.

json
any

JSON representation of the value, when available.

mutatedByRef
array

Values mutated by reference, when present.

suggestedGasPrice
string

Optional suggested gas price; returned only when applicable and selected by the read mask.

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free