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

# trace_rawTransaction

> Call trace_rawTransaction on Goldsky Edge RPC to return a Parity-style trace for a signed raw EVM transaction, without broadcasting it to the network.

## Parameters

<ParamField body="rawTransaction" type="string" required>
  RLP-encoded transaction (hex)
</ParamField>

<ParamField body="traceTypes" type="array" required>
  Array of trace types
</ParamField>

## Returns

<ParamField body="trace" type="object">
  Trace result object
</ParamField>

## Example

<CodeGroup>
  ```bash cURL theme={null}
  curl -X POST "https://edge.goldsky.com/standard/evm/1?key=demo" \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc": "2.0", "method": "trace_rawTransaction", "params": ["0x...raw_tx...", ["trace"]], "id": 1}'
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch('https://edge.goldsky.com/standard/evm/1?key=demo', {
    method: 'POST',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify({
    "jsonrpc": "2.0",
    "method": "trace_rawTransaction",
    "params": [
      "0x...raw_tx...",
      [
        "trace"
      ]
    ],
    "id": 1
  })
  });
  const { result } = await response.json();
  console.log(result);
  ```

  ```python Python theme={null}
  import requests

  response = requests.post(
      'https://edge.goldsky.com/standard/evm/1?key=demo',
      json={
    "jsonrpc": "2.0",
    "method": "trace_rawTransaction",
    "params": [
      "0x...raw_tx...",
      [
        "trace"
      ]
    ],
    "id": 1
  }
  )
  print(response.json()['result'])
  ```
</CodeGroup>


## Related topics

- [EVM sources for Turbo pipelines](/turbo-pipelines/sources/evm.md)
- [EVM dataset schemas: blocks, transactions, logs, traces](/mirror/reference/schema/EVM-schemas.md)
- [trace_transaction](/edge-rpc/evm/methods/trace_transaction.md)
- [Decode contract traces in Mirror pipelines](/mirror/guides/decoding-traces.md)
- [Supported networks](/chains/supported-networks.md)
