> ## 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_traceCall

> The debug_traceCall method lets you run an eth_call within the context of the given block execution using the final state of parent block as the base. The first argument (just as in eth_call) is a transaction object. The block can be specified either by hash or by number as the second argument. 

### Parameters

<ParamField query="chainId" type="string" default="100" 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_traceCall" required>
  JSON-RPC method name.
</ParamField>

<ParamField body="params" type="object" default={[{"from":null,"to":"0x6b175474e89094c44da98b954eedeac495271d0f","data":"0x70a082310000000000000000000000006E0d01A76C3Cf4288372a29124A26D4353EE51BE"},"latest"]} placeholder="[{&#x22;from&#x22;:null,&#x22;to&#x22;:&#x22;0x6b175474e89094c44da98b954eedeac495271d0f&#x22;,&#x22;data&#x22;:&#x22;0x70a082310000000000000000000000006E0d01A76C3Cf4288372a29124A26D4353EE51BE&#x22;},&#x22;latest&#x22;]" required>
  Parameters for method debug\_traceCall: \[transactionObject, blockNrOrHash, traceConfig].

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

  <ul>
    <li><code>params\[0]</code>: Legacy transaction (pre-EIP-2718).</li>
    <li><code>params\[1]</code>: The block number or hash.</li>
    <li><code>params\[2]</code>: Optional configuration object passed to tracing RPC methods.</li>
  </ul>
</ParamField>

### Returns

<ResponseField name="result" type="object">
  The tracer object.
</ResponseField>

<RequestExample>
  ```bash Curl theme={null}
  curl --request POST \
    --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=100 \
    --header 'content-type: application/json' \
    --data '{
      "id": 1,
      "jsonrpc": "2.0",
      "method": "debug_traceCall",
      "params": [
        {
          "from": null,
          "to": "0x6b175474e89094c44da98b954eedeac495271d0f",
          "data": "0x70a082310000000000000000000000006E0d01A76C3Cf4288372a29124A26D4353EE51BE"
        },
        "latest"
      ]
    }'
  ```
</RequestExample>

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