API Referansı
Ethereum API
Core API
Kılavuzlar
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.

Metot ÇağrılarıHTTP!WS!
debug_getBadBlocks
İstemcinin ağda gördüğü son 'kötü blokların' bir listesini döndürür
debug_storageRangeAt
Belirli bir blok yüksekliğinde bir sözleşmenin depolama aralığını döndürür
debug_traceBlock
Belirli bir blokta oluşturulan tüm izleri döndürür
debug_traceBlockByHash
Hash değeri ile belirtilen bir blokta oluşturulan tüm izleri döndürür
debug_traceBlockByNumber
Numarası ile belirtilen bir blokta oluşturulan tüm izleri döndürür
debug_traceCall
Yeni bir mesaj çağrısı yürütür ve yürütme sırasında oluşturulan izleri döndürür
debug_traceTransaction
Belirli bir işlemin tüm izlerini döndürür

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

Daha İyi Olmamıza Yardım Edin!
Bu sayfayı paylaşın ve sizin için daha iyi bir ürün oluşturmamıza yardımcı olun.