debug_traceBlockByNumber | Ronin

The debug_traceBlockByNumber method allows for tracing the execution of all transactions in a specified block. This method is essential for understanding the behavior of transactions and smart contracts within a block, providing insights into executed operations, gas used, and state changes.

👍

Get you own node endpoint today

Start for free and get your app to production levels immediately. No credit card required.

You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • blockNumber - The number of the block to trace. This can be a hexadecimal value or one of the special strings "latest", "earliest", or "pending".

Response

  • result - An object containing detailed execution traces for each transaction in the block.

Use case

This method is invaluable for debugging smart contracts, analyzing transaction execution, and conducting security audits of contract interactions. It offers a granular view of the EVM (Ethereum Virtual Machine) execution process.

Language
Click Try It! to start a request and see the response here!