trace_evm_call
Documentation for eth_defi.trace.trace_evm_call function.
- trace_evm_call(web3, tx, trace_method=TraceMethod.parity, block_reference='latest')[source]
Trace a Solidity function call.
See
print_symbolic_trace()
for usageExtract an EVM transaction stack trace from a node, using GoEthereum compatible debug_traceTransaction
Currently only works with Anvil backend and if steps_trace=True
Warning
Currently not implemented. Anvil does not support trace_call RPC yet.
- Parameters
web3 (web3.main.Web3) – Anvil connection
tx (dict) – Transaction object for the call
trace_method (eth_defi.trace.TraceMethod) –
How to trace.
Choose between debug_traceTransaction and trace_transaction RPCs.
- Return type
evm_trace.base.CallTreeNode