solana_utils.daily_balances table provides end-of-day balance snapshots for every address on Solana, covering both native SOL and SPL token holdings. This table is the historical counterpart to solana_utils.latest_balances.
Each row represents the balance for a specific address, token, and day. The table is partitioned by month for query performance and is sourced from solana.account_activity.
When to Use This Table
- Track historical balance changes for a wallet over time
- Analyze token holder distribution trends
- Build time-series portfolio valuation charts
- Monitor treasury balances for Solana DAOs and protocols
Query Performance
Partition key:month
Always include a time filter (day range) and filter on address or token_mint_address for best performance.