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

# trace_rawTransaction

> Traces a call to eth_sendRawTransaction without making the call, returning the traces

### Parameters

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

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: trace\_rawTransaction)

JSON-RPC method name.

**params** `object`

Parameters for the trace\_rawTransaction method: \[transactionData, traceType].

Positional parameters for `trace_rawTransaction`:

<ul>
  <li>`params[0]`: Data - Raw transaction data.</li>
  <li>`params[1]`: Types of traces to collect: "vmTrace", "trace", and/or "stateDiff".</li>
</ul>

### Returns

**result** `object`

Object - Block traces.

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

```json Success theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "output": "0x",
    "stateDiff": null,
    "trace": [
      {
        "action": {
          "__truncated": true
        },
        "result": {
          "__truncated": true
        },
        "subtraces": 0,
        "traceAddress": [
          "..."
        ],
        "type": "call"
      }
    ],
    "vmTrace": null
  }
}
```


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