Usage
Subcommands
replay tx
Fetch a transaction from a live network, fork the chain at that block, and re-execute it locally. Shows transaction details, gas comparison, revert reasons, and optional execution trace.
Output includes:
- Transaction details (from, to, value, gas, method selector)
- Transaction status (success/reverted)
- Event count
- Gas comparison (original vs replayed)
- Revert reason (if applicable)
replay block
List all transactions in a specific block from a live network.
replay trace
Get a detailed execution trace of a transaction showing all internal calls.
The trace shows nested call hierarchy with:
- Call type (CALL, DELEGATECALL, STATICCALL, CREATE)
- From/to addresses
- Method selectors
- ETH value transferred
- Gas used per call
- Revert reasons for failed calls
Supported Networks
All networks fromdokrypt fork are supported:
You can also pass a custom RPC URL directly.