> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.galleon8.com/node-api/debug-api/overview/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.galleon8.com/_mcp/server. # Debug API Overview > Understand chain-specific Node API methods for low-level execution diagnostics. **Debug API** is the Node API method group for low-level transaction execution and state diagnostics on chains that expose debug methods. Use it when your application needs detailed execution inspection over HTTPS, including opcode-level traces, call traces, prestate data, and client-supported debugging output. Debug API methods are best suited for smart contract developers, protocol teams, infrastructure operators, security researchers, and backend services that need deeper execution detail than standard transaction or receipt data provides. --- ## What You Can Build Debug API supports advanced diagnostics and troubleshooting workflows on supported chains: * **Diagnose transaction behavior**: inspect execution traces, gas usage, revert paths, and client-level debug output. * **Debug smart contracts**: analyze failed or unexpected transactions with low-level execution details. * **Investigate state changes**: inspect state access and prestate data when supported by the selected network. * **Support developer tooling**: power internal dashboards, testing tools, incident analysis, and advanced support workflows. --- ## Request Model Debug API uses the selected chain's supported debug request model over a chain-specific Node API endpoint. For the currently documented Ethereum-compatible methods, requests use JSON-RPC 2.0 over HTTPS: ```json { "jsonrpc": "2.0", "method": "debug_traceTransaction", "params": ["YOUR_TRANSACTION_HASH", {}], "id": 1 } ``` Responses follow the selected chain's supported debug response format. Successful JSON-RPC responses include a `result`; failed responses include an `error` object with details from the node or endpoint. Debug support, method names, parameters, and response schemas can differ by chain. The current generated Debug API reference covers Ethereum-compatible methods. --- ## Methods The Debug API references are chain-specific. Select the one you'd like to interact with to view its method details: #### [Ethereum](/api-reference/node-api/ethereum/overview) View Ethereum API reference. #### [Solana](/api-reference/node-api/solana/overview) View Solana API reference. #### BNB Smart Chain Coming soon... #### Polygon PoS Coming soon... #### Base Coming soon... #### Arbitrum Coming soon... #### Bitcoin Coming soon... #### Optimism Coming soon... #### Avalanche Coming soon... #### TRON Coming soon... #### Monad Coming soon... #### Sui Coming soon... > Understand chain-specific Node API methods for low-level execution diagnostics.