Creates a new SimulateTraceConfig
object.
Optional
enable?: booleanOptional
scratchOptional
stackOptional
stateOptional
enableA boolean option for opting in execution trace features simulation endpoint.
Optional
scratchA boolean option enabling returning scratch slot changes together with execution trace during simulation.
Optional
stackA boolean option enabling returning stack changes together with execution trace during simulation.
Optional
stateA boolean option enabling returning application state changes (global, local, and box changes) with the execution trace during simulation.
Get an object ready for encoding to either JSON or msgpack.
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.
Static
from_Generated using TypeDoc
An object that configures simulation execution trace.