curl --request POST \
--url https://ronin-mainnet.core.chainstack.com/3997273fc956a67dc6982384500e669e \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "debug_traceBlockByHash",
"params": [
"0x66d67565dc84eb6e579ebe142683e4338498653ff6b7a6e2724e80a73aca4f20"
]
}'
{
"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_traceBlockByHash",
"params": [
"0x66d67565dc84eb6e579ebe142683e4338498653ff6b7a6e2724e80a73aca4f20"
]
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": {}
}
debug_traceBlockByHash
method provides a way to trace the execution of all transactions in a specific block identified by its hash. This is particularly useful for developers and auditors who need to understand the exact behavior of smart contracts under specific conditions as recorded on the blockchain.
blockHash
- The hash of the block to trace.result
- An object containing detailed execution traces for each transaction in the block, including executed operations, gas used, and state changes.Detailed execution traces of the block
The response is of type object
.
Was this page helpful?