trace_replayTransaction - Ethereum RPC Method
Replay a transaction and return traces on Ethereum. Requires archive node for DeFi protocols (60% market share), NFT marketplaces, DAOs, and enterprise dApps.
Replays a transaction on Ethereum and returns the requested traces.
Archive Node Required
This method requires an archive node. It is not available on full nodes.
Use Cases
- Transaction replay - Re-execute a transaction with full trace output
- State diff extraction - Get exact state changes from a transaction
- VM trace debugging - Get opcode-level execution details for DeFi protocols (60% market share), NFT marketplaces, DAOs, and enterprise dApps
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 Ethereum. Requires archive node for DeFi protocols (60% market share), NFT marketplaces, DAOs, and enterprise dApps.
trace_transaction
Get traces for a specific transaction on Ethereum. Requires archive node for DeFi protocols (60% market share), NFT marketplaces, DAOs, and enterprise dApps.