solana_utils.latest_balances table provides the most recent balance snapshot for every address on Solana, covering both native SOL and SPL token holdings.
Each row represents the latest known balance for a specific address and token combination. This table is derived from solana_utils.daily_balances and is incrementally updated.
When to Use This Table
- Look up current token holdings for a wallet
- Build portfolio dashboards showing real-time Solana balances
- Identify top holders of a specific SPL token
- Power wallet scoring and risk profiling systems
Query Performance
This table can be large. Always filter onaddress or token_mint_address for best performance.
Table Schema
| Column | Type | Description |
|---|---|---|
address | VARCHAR | Solana wallet address |
block_time | TIMESTAMP | Block time of the latest balance update |
block_slot | BIGINT | Block slot of the latest balance update |
sol_balance | DOUBLE | Native SOL balance |
token_balance | DECIMAL(38,18) | SPL token balance in display units |
token_mint_address | VARCHAR | Mint address of the SPL token |
token_balance_owner | VARCHAR | Owner of the token balance |
updated_at | TIMESTAMP | When this record was last updated |