Skip to main content
Version: 10.x

Type Alias: SIMULATION_FLAG

SIMULATION_FLAG = typeof SKIP_VALIDATE | typeof SKIP_FEE_CHARGE | typeof RETURN_INITIAL_READS

Defined in: node_modules/@starknet-io/starknet-types-0104/dist/types/api/components.d.ts:105

Flags that indicate how to simulate a given transaction. By default, the sequencer behavior is replicated locally (enough funds are expected to be in the account, and fee will be deducted from the balance before the simulation of the next transaction). To skip the fee charge, use the SKIP_FEE_CHARGE flag. When RETURN_INITIAL_READS is present, the node returns the minimal set of concrete state values fetched from the underlying state reader during execution for all transactions in the simulation.