API-Referenz
Ethereum API
Core API
Anleitungen
Ethereum/Debug API

Ethereum Debug Methods

This section documents Ethereum's powerful debug API methods that provide advanced capabilities for blockchain analysis, transaction debugging, and detailed state inspection. These methods are essential for developers building sophisticated Ethereum applications, tools, and analytics.

Debug Methods Overview

Debug methods allow you to perform detailed analysis of blockchain data, trace transaction execution at the EVM level, inspect state changes, and diagnose issues with transactions or smart contracts. These advanced inspection capabilities are crucial for developers working on complex smart contracts or building analytical tools.

MethodenaufrufeHTTP!WS!
debug_getBadBlocks
Gibt eine Liste der letzten 'schlechten Blöcke' zurück, die der Client im Netzwerk gesehen hat
debug_storageRangeAt
Gibt den Speicherbereich eines Vertrags bei einer bestimmten Blockhöhe zurück
debug_traceBlock
Gibt alle Traces zurück, die bei einem bestimmten Block erstellt wurden
debug_traceBlockByHash
Gibt alle Traces zurück, die bei einem durch seinen Hash spezifizierten Block erstellt wurden
debug_traceBlockByNumber
Gibt alle Traces zurück, die bei einem durch seine Nummer spezifizierten Block erstellt wurden
debug_traceCall
Führt einen neuen Nachrichtenaufruf aus und gibt die während der Ausführung erstellten Traces zurück
debug_traceTransaction
Gibt alle Traces einer bestimmten Transaktion zurück

The debug namespace provides methods for:

  • Tracing transaction execution with granular control over tracing parameters
  • Analyzing block execution with different trace types (e.g., call tracer, 4byte tracer)
  • Inspecting contract storage and state
  • Retrieving information about bad blocks
  • Analyzing call and execution contexts

These methods typically provide more detailed output than standard API methods, making them valuable for deep debugging and analysis tasks.

See also

Helfen Sie uns, besser zu werden!
Teilen Sie diese Seite und helfen Sie uns, ein noch besseres Produkt für Sie zu erstellen.