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.