traceReplayTransaction
Replay a transaction to get its execution trace and optional state diffs. Provide transaction hash and trace types (e.g., trace, stateDiff) to analyze on-chain behavior.
Instructions
Replay a specific transaction and return its trace with optional state diffs
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": {
"transactionHash": "<transactionHash>",
"traceTypes": "<traceTypes>"
},
"name": "traceReplayTransaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | Network ID. Call listSupportedNetworks for all options. e.g. "eth-mainnet", "base-mainnet" | eth-mainnet |
| transactionHash | Yes | Transaction hash | |
| traceTypes | Yes | Array of trace types. e.g. ["trace", "stateDiff"] |