> ## 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_traceTransaction | Ronin

> The debug_traceTransaction method provides a detailed execution trace of a single transaction, identified by its hash. Ronin via Chainstack.

The `debug_traceTransaction` method provides a detailed execution trace of a single transaction, identified by its hash. This trace includes step-by-step execution details, gas usage, and changes to the Ethereum Virtual Machine (EVM) state, offering deep insights into the transaction's execution process.

## Parameters

* `transactionHash` - The hash of the transaction to trace.

## Response

* `result` - An object containing the detailed execution trace of the transaction. This includes information such as the gas used at each step, the operations performed, and any state changes that occurred as a result of the transaction's execution.

## Use case

This method is invaluable for developers and auditors who need to analyze the behavior of transactions, debug smart contracts, or verify the correctness and efficiency of transaction execution. It provides a granular view of how a transaction interacts with the Ronin network and smart contracts, making it an essential tool for advanced Ronin development and security analysis.


## OpenAPI

````yaml openapi/ronin_node_api/debug_traceTransaction.json POST /3997273fc956a67dc6982384500e669e
openapi: 3.0.0
info:
  title: debug_traceTransaction
  version: 1.0.0
  description: Provides a detailed execution trace of a single transaction by its hash.
servers:
  - url: https://ronin-mainnet.core.chainstack.com
security: []
paths:
  /3997273fc956a67dc6982384500e669e:
    post:
      tags:
        - debug
      summary: Trace transaction by hash
      operationId: traceTransaction
      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_traceTransaction
                params:
                  type: array
                  items:
                    type: string
                  default:
                    - >-
                      0x28b9b8b702236be6ae586e72f99ffab23cb6ef20c230fc37fcd9ce60e612bb31
      responses:
        '200':
          description: Detailed execution trace of the transaction
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: object

````