This section documents Ethereum's trace API methods that provide detailed execution traces for transactions and blocks. These methods are instrumental for developers needing in-depth visibility into transaction execution, contract interactions, and state changes.
Trace methods allow developers to obtain comprehensive execution traces for transactions and blocks, providing visibility into the complete call hierarchy, state changes, and execution flow. These powerful tools enable advanced debugging, analytics, and monitoring capabilities essential for sophisticated Ethereum applications.
Methodenaufrufe | HTTP! | WS! |
---|---|---|
trace_block Gibt Traces zurück, die bei einem bestimmten Block erstellt wurden | ||
trace_call Führt einen Aufruf aus und gibt die während der Ausführung erstellten Traces zurück | ||
trace_replayBlockTransactions Wiederholt alle Transaktionen in einem Block und gibt ihre Traces zurück | ||
trace_replayTransaction Wiederholt eine Transaktion und gibt ihren Trace zurück | ||
trace_transaction Gibt alle Traces einer bestimmten Transaktion zurück | ||
The trace namespace provides methods for:
These methods are particularly valuable for:
Each trace method provides structured output detailing call hierarchies, executed opcodes, gas consumption, and state modifications at each step of execution.