Class SimulateTransactionResult

Simulation result for an individual transaction

Hierarchy

Constructors

Properties

appBudgetConsumed?: number | bigint

Budget used during execution of an app call transaction. This value includes budged used by inner app calls spawned by this transaction.

attribute_map: Record<string, string>

The execution trace of calling an app or a logic sig, containing the inner app call trace in a recursive way.

logicSigBudgetConsumed?: number | bigint

Budget used during execution of a logic sig transaction.

Details about a pending transaction. If the transaction was recently confirmed, includes confirmation details like the round and reward details.

unnamedResourcesAccessed?: SimulateUnnamedResourcesAccessed

These are resources that were accessed by this group that would normally have caused failure, but were allowed in simulation. Depending on where this object is in the response, the unnamed resources it contains may or may not qualify for group resource sharing. If this is a field in SimulateTransactionGroupResult, the resources do qualify, but if this is a field in SimulateTransactionResult, they do not qualify. In order to make this group valid for actual submission, resources that qualify for group sharing can be made available by any transaction of the group; otherwise, resources must be placed in the same transaction which accessed them.

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