Documentation Index
Fetch the complete documentation index at: https://docs.pulsy.app/llms.txt
Use this file to discover all available pages before exploring further.
EVM ERC-20 Transfers
The EVM ERC-20 Transfers template tracks ERC-20Transfer(address,address,uint256) events.
Source: evm-erc-20-transfers
Data Type
This template usesBlockWithLogs. It reads stream.logs.
Configuration
TOKEN_ADDRESS: Optional token contract filter.FROM_ADDRESS: Optional sender address filter.TO_ADDRESS: Optional recipient address filter.MIN_VALUE: Optional minimum amount.MAX_VALUE: Optional maximum amount.DECIMALS: Optional token decimals for human-readable thresholds.
Logic
The filter:- Matches the ERC-20
Transferevent topic. - Parses logs with
ethers.Interface. - Compares token amount thresholds.
- Treats min and max as raw base units if
DECIMALSis omitted. - Returns
nullwhen no transfer matches.
Output
When at least one log matches, the feed returns a result with the matching ERC-20 transfers insidetransfers.
value is the raw token amount from the ERC-20 event. If no log matches the configured token, sender, recipient, or value range, the filter returns null and the feed does not emit a result.