Skip to content

call_trace

Signature

call_trace() -> TraceFrame

Description

Returns the call trace of the computation.

  • Returns: A TraceFrame instance.

Examples

Python

>>> import boa
>>> src = """
... @external
... def main():
...     pass
... """
>>> deployer = boa.loads_partial(src, name="Foo")
>>> contract = deployer.deploy()
>>> contract.main()
>>> contract.call_trace()
<TraceFrame ...>