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 todayStart 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.