Class SimulateRequest

Request type for simulation endpoint.

Hierarchy

Constructors

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.

attribute_map: Record<string, string>
execTraceConfig?: SimulateTraceConfig

An object that configures simulation execution trace.

extraOpcodeBudget?: number | bigint

Applies extra opcode budget during simulation for each transaction group.

round?: number | 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.

Methods

  • Get an object ready for encoding to either JSON or msgpack.

    Parameters

    • binary: boolean = false

      Use true to indicate that the encoding can handle raw binary objects (Uint8Arrays). Use false to indicate that raw binary objects should be converted to base64 strings. True should be used for objects that will be encoded with msgpack, and false should be used for objects that will be encoded with JSON.

    Returns Record<string, any>

Generated using TypeDoc