curl --request POST \
--url https://ronin-mainnet.core.chainstack.com/3997273fc956a67dc6982384500e669e \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "debug_traceBlockByNumber",
"params": [
"latest"
]
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": {}
}
curl --request POST \
--url https://ronin-mainnet.core.chainstack.com/3997273fc956a67dc6982384500e669e \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "debug_traceBlockByNumber",
"params": [
"latest"
]
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": {}
}
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.
blockNumber
- The number of the block to trace. This can be a hexadecimal value or one of the special strings “latest”, “earliest”, or “pending”.result
- An object containing detailed execution traces for each transaction in the block.Detailed execution traces of the block
The response is of type object
.
Was this page helpful?