CLI tool to fetch web3 EVM on-chain smart contract events. If the smart contract is verified on etherscan (or the chain-specific block explorer) you should just be able to provide the contract address and the tool will do the rest to get the ABI, but if it's not verified you might have to provide the JSON ABI string.
- Simple interface and minimal required parameters (contract address is only one)
- Clean tabular output that provides block, tx hash, and all output values from the event
- Proxy detection and support
$ npm install -g web3ev
$ web3ev --help# Get all Transfer events from the block that WETH was created to 100,000 blocks later
$ web3ev -c 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 -e Transfer$ npm install$ npm run build- Add more run examples above
- Support Etherscan API key through option and fallback to env variable