Use Case
Event logs are emitted by smart contracts when specific actions occur. This example tracks all USDC Transfer events, which you can use to:- Build token transfer trackers
- Analyze trading patterns
- Monitor wallet activity
- Track liquidity flows
Code Example
Try it yourself with the interactive query interface below:
Key Parameters
Expected Output
Each line in the response represents one block containing matching logs:Filtering Multiple Contracts
Query logs from multiple ERC-20 tokens:Performance Tips
- Request only needed fields: Don’t request
dataif you only need addresses - Use specific filters: Filter by contract address and event signature
- Batch appropriately: Query 10k-50k blocks at a time for best performance
- Filter by indexed parameters: Use topic1, topic2, topic3 to narrow results
Related Examples
Query Transactions
Monitor transaction activity
Track NFT Transfers
Monitor NFT collection events
Index DEX Swaps
Track DEX trading activity
API Reference
View complete API docs