trace_replayTransaction - Arc RPC Method
Replay a transaction and return traces on Arc. Requires archive node for crossborder settlement, merchant payments, institutional clearing, and USDC-denominated financial applications.
Replays a transaction on Arc and returns the requested traces.
Archive Node Required
This method requires an archive node. It is not available on full nodes.
When to Use This Method
- Replay and trace a transaction execution - Get vmTrace, stateDiff, and trace in a single call for comprehensive analysis on Arc
- State diff extraction - See exact account balance, nonce, code, and storage changes caused by a transaction for crossborder settlement, merchant payments, institutional clearing, and USDC-denominated financial applications
- VM trace debugging - Get opcode-level execution details alongside the structured call trace
- Comprehensive transaction analysis - Combine all three trace types in one request for complete execution visibility
Best Practices
- Returns more detailed trace data than debug_traceTransaction
- Combine vmTrace with trace array for a full picture of opcode and call-level execution
- Request all three trace types (trace, vmTrace, stateDiff) for maximum detail
- Requires archive node access; not available on standard full nodes
Response Body
ResponseCode Examples
Related Methods
trace_replayBlockTransactions- Replay all transactions in a blocktrace_transaction- Get traces without replaytrace_block- Get all traces in a block
trace_replayBlockTransactions
Replay all transactions in a block and return traces on Arc. Requires archive node for crossborder settlement, merchant payments, institutional clearing, and USDC-denominated financial applications.
trace_transaction
Get traces for a specific transaction on Arc. Requires archive node for crossborder settlement, merchant payments, institutional clearing, and USDC-denominated financial applications.