Class SimulateResponse

Result of a transaction group simulation.

Hierarchy

Constructors

Properties

attribute_map: Record<string, string>
evalOverrides?: SimulationEvalOverrides

The set of parameters and limits override during simulation. If this set of parameters is present, then evaluation parameters may differ from standard evaluation in certain ways.

execTraceConfig?: SimulateTraceConfig

An object that configures simulation execution trace.

initialStates?: SimulateInitialStates

Initial states of resources that were accessed during simulation.

lastRound: number | bigint

The round immediately preceding this simulation. State changes through this round were used to run this simulation.

A result object for each transaction group that was simulated.

version: number | bigint

The version of this response object.

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