Backend Services
Overview
Historical Snapshots
What to Snapshot
Data
Source
Change Frequency
How to Query at Specific Blocks
Archive Node Requirements
Snapshot Pattern
Event Indexing
Key Events
Event
When Emitted
Key Data
Event
When Emitted
Key Data
Watching Events with viem
Fetching Historical Events
State Tracking
Credit Account Lifecycle
Combining Events and Snapshots
Rate History
Rates to Track
Rate
Source
Notes
Polling Pattern
Rate Conversion
Complete Example: Simple Indexer
Next Steps
Last updated
