API संदर्भ
इथेरियम API
Core API
गाइड
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.

विधि कॉलHTTP!WS!
debug_getBadBlocks
नेटवर्क पर क्लाइंट द्वारा देखे गए अंतिम 'बुरे ब्लॉक' की सूची वापस करता है
debug_storageRangeAt
विशिष्ट ब्लॉक ऊंचाई पर अनुबंध की भंडारण सीमा वापस करता है
debug_traceBlock
दिए गए ब्लॉक पर बनाए गए सभी ट्रेस वापस करता है
debug_traceBlockByHash
हैश द्वारा निर्दिष्ट ब्लॉक पर बनाए गए सभी ट्रेस वापस करता है
debug_traceBlockByNumber
संख्या द्वारा निर्दिष्ट ब्लॉक पर बनाए गए सभी ट्रेस वापस करता है
debug_traceCall
एक नया संदेश कॉल निष्पादित करता है और निष्पादन के दौरान बनाए गए ट्रेस वापस करता है
debug_traceTransaction
दिए गए लेनदेन के सभी ट्रेस वापस करता है

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

हमें बेहतर बनाने में मदद करें!
इस पृष्ठ को साझा करें और हमें आपके लिए और भी बेहतर उत्पाद बनाने में मदद करें।