traceRawTransaction
Simulate execution of a raw signed transaction without broadcasting. Retrieve call traces, state diffs, and logs for pre-flight verification.
Instructions
Trace a raw signed transaction without broadcasting it to the network
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"rawTransaction": "<rawTransaction>",
"traceTypes": "<traceTypes>"
},
"name": "traceRawTransaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | Network ID. Call listSupportedNetworks for all options. e.g. "eth-mainnet", "base-mainnet" | eth-mainnet |
| rawTransaction | Yes | Raw transaction data | |
| traceTypes | Yes | Array of trace types. e.g. ["trace", "stateDiff"] |