apercu
v0.0.5
Published
A minimal CLI that streams EVM contract logs like `tail -f`.
Readme
apercu
A minimal CLI that streams EVM contract logs like tail -f.
Requirements
- Node.js >= 18
Installation
npm install -g apercuUsage
apercu <address> --rpc <wss://...> [options]Options:
--rpc <url>WebSocket RPC endpoint--topic0 <hash>Filter by event signature-n, --replay <n>Replay last N blocks before following-f, --followFollow new blocks (default)--no-followFetch once and exit--format <pretty|jsonl>Output format
Examples:
apercu 0xYourContract --rpc wss://...
apercu 0xYourContract --rpc wss://... -n 200
apercu 0xYourContract --rpc wss://... --format jsonl | jq