> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# debug_traceBlockByHash | Ronin

> The debug_traceBlockByHash method provides a way to trace the execution of all transactions in a specific block identified by its hash.

The `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.

## Parameters

* `blockHash` - The hash of the block to trace.

## Response

* `result` - An object containing detailed execution traces for each transaction in the block, including executed operations, gas used, and state changes.

## Use case

This method is invaluable for debugging smart contracts, analyzing transaction execution, and auditing contract interactions for security purposes. It provides deep insights into the EVM (Ethereum Virtual Machine) execution at a granular level.


## OpenAPI

````yaml openapi/ronin_node_api/debug_traceBlockByHash.json POST /3997273fc956a67dc6982384500e669e
openapi: 3.0.0
info:
  title: debug_traceBlockByHash
  version: 1.0.0
  description: >-
    Traces a block by its hash, providing detailed execution traces of all
    transactions contained within the  block.
servers:
  - url: https://ronin-mainnet.core.chainstack.com
security: []
paths:
  /3997273fc956a67dc6982384500e669e:
    post:
      tags:
        - debug
      summary: Trace block by hash
      operationId: traceBlockByHash
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: debug_traceBlockByHash
                params:
                  type: array
                  items:
                    type: string
                  default:
                    - >-
                      0x66d67565dc84eb6e579ebe142683e4338498653ff6b7a6e2724e80a73aca4f20
      responses:
        '200':
          description: Detailed execution traces of the block
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: object

````