DebugCallResult (Class)¶
The outcome of a debug_call simulation.
console
property
¶
Output captured from the contract's console.log calls, in execution
order.
failure
property
¶
failure: Optional[FailureReport]
The source-level failure report (failing statement, call stack, and per-frame variables); None on success or when execution failed before the debug session started (e.g. in the signature script).
function_name
property
¶
The entrypoint that was called (resolved to the first ABI entry when
function_name was omitted).
trace
property
¶
trace: Optional[list[TraceStep]]
The per-statement execution trace, in execution order; None unless
debug_call was invoked with trace=True. On failure the trace covers
the statements up to and including the failing one: the last entry is
the failing statement, snapshotted when it was reached.