evmDecoder
Decode smart contract events as a pipe.range: Block range{ from: number | 'latest', to?: number }(required)contracts: Array of contract addresses or factory (required)events: Map of event names to ABI objects (required)profiler: Profiler config{ id: string }(optional)onError: Error handler (optional)
Configuration
Range
Contracts
Array of addresses or afactory() result.
Events
Map event names to ABI objects. UsecommonAbis.erc20.events.* or ABIs from @subsquid/evm-typegen.
Only ERC20 ABIs are in
commonAbis. For other standards, use @subsquid/evm-typegen to generate ABIs.Decoded Event Structure
Decoded events includeevent, block, timestamp, contract, rawEvent, and optional factory for factory-created contracts.
