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.
| Flag | Default | Description |
|---|---|---|
--network | mainnet | Source network to fetch tx from |
--chain | Target local chain | |
--block | Custom fork block (default: one block before tx) | |
--verbose | false | Show full execution trace |
- 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.
| Flag | Default | Description |
|---|---|---|
--network | mainnet | Source network |
--chain | Target local chain | |
--limit | 50 | Max transactions to display |
replay trace
Get a detailed execution trace of a transaction showing all internal calls.
| Flag | Default | Description |
|---|---|---|
--network | mainnet | Source network |
--chain | Target local chain for tracing |
- 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:
| Network | RPC |
|---|---|
mainnet / ethereum | eth.llamarpc.com |
arbitrum | arb1.arbitrum.io/rpc |
polygon | polygon-rpc.com |
optimism | mainnet.optimism.io |
base | mainnet.base.org |
sepolia | rpc.sepolia.org |
bsc | bsc-dataseed.binance.org |
avalanche | api.avax.network |