Balances
Solana Balances
Thesolana.assets.balances table provides transaction-level SOL and SPL token balances of all Solana accounts. Each row corresponds to a change in the balance of SOL / SPL tokens caused by the transaction.
Note that 0 balance changes are not present in this table.
Why some addresses appear in
transfers but not in balances:
Balance records are extracted at the transaction level from RPC-reported balance changes. If an address’s SOL movements within a transaction are transient (e.g. SOL passed through to fund a token account) and the net balance change is zero, the RPC does not report a balance change — so no row appears in this table.These movements still appear in solana.assets.transfers because transfers capture individual instruction-level activity, including token account funding.Both
sol_balances and spl_token_balances are huge tables. It is advised that you query time ranges and specific addresses- spl_token_balances ~ 15bil rows
- sol_balances ~ 330bil rows
A daily end-of-day balances snapshot model is now available at Daily Balances
Sample Query
Generate Daily Balances from tx-level balances data
Generate Daily Balances from tx-level balances data
This query generates daily end-of-day balances from txn-level balances data.Note: the final output will contain all tokens held by the wallet, including undesirable spam tokens.
One approach to counter this would be to filter the output of the query with the desired token mints or balances above a certain USD value.
- Replace the address with the desired wallet address.
Column Name
Solana Balances Latest
Thesolana.assets.balances_latest table provides a snapshot of SPL and SOL tokens’ most recent balance information.