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

**chainId** `string` *required* (default: 1111)

Unique identifier for a blockchain network.

**id** `number` *required* (default: 1)

Request identifier used to match responses.

**jsonrpc** `string` *required* (default: 2.0)

JSON-RPC version.

**method** `string` *required* (default: debug\_traceCall)

JSON-RPC method name.

**params** `object` *required*

Parameters for method debug\_traceCall: \[transactionObject, blockNrOrHash, traceConfig].

Positional parameters for `debug_traceCall`:

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

### Returns

**result** `object`

The tracer object.

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

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.