This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

EVM Debugger

Developer Tools · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — nothing to install.
CategoryDeveloper Tools
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

EVM Debugger gives you a comprehensive view of any on-chain transaction. Enter a transaction hash and instantly see the full receipt: status, gas used, effective gas price, total cost, and all emitted logs. If the transaction failed, the tool attempts to decode the revert reason using the provider's call simulation and any ABI you provide. It also decodes the transaction's input data into function names and parameters when an ABI is supplied. Logs are displayed with decoded event data, making it easy to understand exactly what happened during the transaction. This is essential for developers debugging failed transactions, auditors analyzing contract behavior, or anyone investigating on-chain activity.

HOW TO USE

Connect your EVM wallet (optional—the tool works read-only). Select the network from the dropdown. Enter a transaction hash (0x…66) in the input field. Optionally, paste the contract ABI as a JSON array to enable full decoding of function calls, events, and revert reasons. Click "debug" to fetch the transaction data from the chain. The tool displays the transaction metadata, status, gas details, and—if a revert occurred—the decoded reason. It also shows all logs with their decoded event data, and if an ABI is provided, the decoded function call with parameters. Use the "clear" button to reset all fields.

TECHNICAL MECHANISM

The tool uses ethers.js v5.7.2 via the BGWallet provider. It fetches the transaction with provider.getTransaction(txHash) and the receipt with provider.getTransactionReceipt(txHash). For revert reasons on failed transactions, it performs a provider.call() simulation at the transaction's block number, capturing the revert data. If an ABI is provided, it creates an ethers.utils.Interface and uses it to parse logs (interface.parseLog()), decode transaction data (interface.parseTransaction()), and parse revert errors (interface.parseError()). The tool also calculates the total transaction cost using receipt.effectiveGasPrice multiplied by gasUsed, following post-EIP-1559 semantics. All results are displayed in a clean, structured format with color-coded status badges.

WHAT IT CANNOT SEE

This tool cannot perform deep EVM-level tracing without node support—it only shows the transaction receipt and decoded data, not the full execution trace. It cannot debug pending or failed transactions without a valid receipt—the transaction must be confirmed on-chain. It cannot decode complex revert reasons without the exact contract source or ABI—you must provide the ABI for full decoding. It cannot trace internal contract calls or view the stack state. It cannot simulate transactions with different parameters or block contexts. It is limited by the RPC provider's tracing capabilities and availability of historical state. The tool does not support debug_traceTransaction or similar low-level tracing methods.

PLEASE NOTE

Works exclusively on EVM-compatible chains: Ethereum Mainnet, Goerli, Sepolia, Polygon, Arbitrum, and Optimism. Solana, Tron, Starknet, SUI, TON, Aptos, Bitcoin, Cosmos, and XRP are not supported. This is a read-only, free developer tool—use it for debugging and transaction analysis, but always cross-check critical data with a block explorer or your own node. The revert reason decoding relies on the provider's ability to simulate the transaction and may not work for all contracts or failure modes.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.