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 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:
These methods typically provide more detailed output than standard API methods, making them valuable for deep debugging and analysis tasks.