Referencia de API
API de Ethereum
Core API
Guías
Ethereum/Trace API

Ethereum Trace Methods

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 Overview

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.

Llamadas a MétodosHTTP!WS!
trace_block
Devuelve trazas creadas en un bloque dado
trace_call
Ejecuta una llamada y devuelve las trazas creadas durante la ejecución
trace_replayBlockTransactions
Reproduce todas las transacciones en un bloque y devuelve sus trazas
trace_replayTransaction
Reproduce una transacción y devuelve su traza
trace_transaction
Devuelve todas las trazas de una transacción dada

The trace namespace provides methods for:

  • Obtaining detailed traces for individual transactions
  • Tracing all transactions within a block
  • Replaying transactions with different parameters
  • Filtering traces based on specific criteria
  • Executing trace calls without modifying state
  • Analyzing internal transactions and contract calls

These methods are particularly valuable for:

  • Smart contract debugging and validation
  • Transaction analysis tools
  • Monitoring contract interactions
  • Forensic blockchain analysis
  • Gas optimization research

Each trace method provides structured output detailing call hierarchies, executed opcodes, gas consumption, and state modifications at each step of execution.

See also

¡Ayúdanos a Mejorar!
Comparte esta página y ayúdanos a crear un producto aún mejor para ti.