trace_replayBlockTransactions - Base RPC Method
Replay all transactions in a block and return traces on Base. Requires archive node for consumer dApps, SocialFi, NFT marketplaces, and merchant payment integrations.
Replays all transactions in a block on Base 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 all transactions in a block - Get vmTrace, stateDiff, and trace for every transaction in a block on Base
- Comprehensive block-level execution analysis - Audit exactly how each transaction in a block modified state for consumer dApps, SocialFi, NFT marketplaces, and merchant payment integrations
- Audit entire block execution - Verify that all transactions in a block executed as expected
- Historical block replay - Re-execute blocks at any point in Base chain history
Best Practices
- Very resource-intensive; each transaction is fully traced with all requested types
- Limit to small blocks or use specific tracer types to reduce response size
- Request only the trace types you actually need to minimize overhead
- Requires archive node access; not available on standard full nodes
Response Body
ResponseCode Examples
Related Methods
trace_replayTransaction- Replay a single transactiontrace_block- Get traces without replaytrace_filter- Filter traces by criteria
trace_get
Get a specific trace by transaction hash and index on Base. Requires archive node for consumer dApps, SocialFi, NFT marketplaces, and merchant payment integrations.
trace_replayTransaction
Replay a transaction and return traces on Base. Requires archive node for consumer dApps, SocialFi, NFT marketplaces, and merchant payment integrations.