Class DryrunTxnResult

DryrunTxnResult contains any LogicSig or ApplicationCall program debug information and state updates from a dryrun.

Hierarchy

Constructors

Properties

appCallMessages?: string[]
appCallTrace?: DryrunState[]
attribute_map: Record<string, string>
budgetAdded?: number | bigint

Budget added during execution of app call transaction.

budgetConsumed?: number | bigint

Budget consumed during execution of app call transaction.

disassembly: string[]

Disassembled program line by line.

globalDelta?: modelsv2.EvalDeltaKeyValue[]

Application state delta.

localDeltas?: modelsv2.AccountStateDelta[]
logicSigDisassembly?: string[]

Disassembled lsig program line by line.

logicSigMessages?: string[]
logicSigTrace?: DryrunState[]
logs?: Uint8Array[]

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