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

# debug_traceTransaction

> The traceTransaction debugging method will attempt to run the transaction in the exact same manner as it was executed on the network. It will replay any transaction that may have been executed prior to this one before it will finally attempt to execute the transaction that corresponds to the given hash.

### Parameters

<ParamField query="chainId" type="string" default="10218" required>
  Unique identifier for a blockchain network.
</ParamField>

<ParamField body="id" type="number" default={1} required>
  Request identifier used to match responses.
</ParamField>

<ParamField body="jsonrpc" type="string" default="2.0" required>
  JSON-RPC version.
</ParamField>

<ParamField body="method" type="string" default="debug_traceTransaction" required>
  JSON-RPC method name.
</ParamField>

<ParamField body="params" type="object" default={["0x9e63085271890a141297039b3b711913699f1ee4db1acb667ad7ce304772036b",{"tracer":"callTracer"}]} placeholder="[&#x22;0x9e63085271890a141297039b3b711913699f1ee4db1acb667ad7ce304772036b&#x22;,{&#x22;tracer&#x22;:&#x22;callTracer&#x22;}]" required>
  Parameters for method debug\_traceTransaction: \[txHash, traceConfig].

  Positional parameters for <code>debug\_traceTransaction</code>:

  <ul>
    <li><code>params\[0]</code>: 32 Bytes - Hash of the transaction.</li>
    <li><code>params\[1]</code>: Optional configuration object passed to tracing RPC methods.</li>
  </ul>
</ParamField>

### Returns

<ResponseField name="result" type="object">
  The ExecutionResult of the transaction.
</ResponseField>

<RequestExample>
  ```bash Curl theme={null}
  curl --request POST \
    --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=10218 \
    --header 'content-type: application/json' \
    --data '{
      "id": 1,
      "jsonrpc": "2.0",
      "method": "debug_traceTransaction",
      "params": [
        "0x9e63085271890a141297039b3b711913699f1ee4db1acb667ad7ce304772036b",
        {
          "tracer": "callTracer"
        }
      ]
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json Success theme={null}
  {
    "jsonrpc": "2.0",
    "id": 1,
    "result": {}
  }
  ```
</ResponseExample>
