Class SimulateRequest

Request type for simulation endpoint.

Implements

Constructors

  • Creates a new SimulateRequest object.

    Parameters

    • __namedParameters: {
          allowEmptySignatures?: boolean;
          allowMoreLogging?: boolean;
          allowUnnamedResources?: boolean;
          execTraceConfig?: SimulateTraceConfig;
          extraOpcodeBudget?: number | bigint;
          fixSigners?: boolean;
          round?: number | bigint;
          txnGroups: SimulateRequestTransactionGroup[];
      }
      • Optional allowEmptySignatures?: boolean
      • Optional allowMoreLogging?: boolean
      • Optional allowUnnamedResources?: boolean
      • Optional execTraceConfig?: SimulateTraceConfig
      • Optional extraOpcodeBudget?: number | bigint
      • Optional fixSigners?: boolean
      • Optional round?: number | bigint
      • txnGroups: SimulateRequestTransactionGroup[]

    Returns SimulateRequest

Properties

allowEmptySignatures?: boolean

Allows transactions without signatures to be simulated as if they had correct signatures.

allowMoreLogging?: boolean

Lifts limits on log opcode usage during simulation.

allowUnnamedResources?: boolean

Allows access to unnamed resources during simulation.

execTraceConfig?: SimulateTraceConfig

An object that configures simulation execution trace.

extraOpcodeBudget?: number

Applies extra opcode budget during simulation for each transaction group.

fixSigners?: boolean

If true, signers for transactions that are missing signatures will be fixed during evaluation.

round?: bigint

If provided, specifies the round preceding the simulation. State changes through this round will be used to run this simulation. Usually only the 4 most recent rounds will be available (controlled by the node config value MaxAcctLookback). If not specified, defaults to the latest available round.

The transaction groups to simulate.

encodingSchemaValue: undefined | Schema

Accessors

Methods

Generated using TypeDoc