> ## Documentation Index
> Fetch the complete documentation index at: https://docs.allium.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Balances Latest

### Table Details

| Property     | Value                                    |
| ------------ | ---------------------------------------- |
| Table Name   | `solana.assets.balances_latest`          |
| Table Status | Production-Ready                         |
| Unique Key   | `address`, `token_type`, `token_account` |

### Table Columns

| Column Name                                   | Data Type         | Description                                                                                                                                                                           |
| --------------------------------------------- | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| token\_type                                   | VARCHAR(9)        | Token standard for the asset. One of: `erc20` (fungible), `erc721` (non-fungible), `erc1155` (semi-fungible), or the native currency symbol (e.g. `eth`, `matic`, `bnb`).             |
| address                                       | VARCHAR(16777216) | Wallet or contract address of the account. On EVM chains, a 42-character hex string (0x-prefixed). On other chains, the native address format applies.                                |
| token\_account                                | VARCHAR(16777216) | SPL token account address that holds the token balance. On Solana, token balances are tracked in separate token accounts associated with a wallet (owner) address and a mint.         |
| decimals                                      | NUMBER(38,0)      | Number of decimal places for this token. Short alias for `token_decimals` used in tables that preserve the original blockchain field naming convention.                               |
| mint                                          | VARCHAR(16777216) | Base58-encoded mint address of the SPL token. Analogous to `token_address` on EVM chains. Each mint uniquely identifies a fungible or non-fungible token on Solana.                   |
| program\_id                                   | VARCHAR(16777216) | Base58-encoded public key of the Solana program that processed this instruction (e.g. `TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA` for SPL Token).                                   |
| symbol                                        | VARCHAR(16777216) | Ticker symbol of this token or asset. Short alias for `token_symbol` used in tables that preserve the original blockchain field naming convention.                                    |
| raw\_balance                                  | FLOAT             | Token balance in the token's smallest unit (not decimal-adjusted). Use `balance` for the human-readable normalized value.                                                             |
| raw\_balance\_str                             | VARCHAR(16777216) | Token balance in the smallest unit, stored as a string for full precision. Avoids floating-point truncation for tokens with very large integer balances.                              |
| balance\_str                                  | VARCHAR(16777216) | Normalized token balance stored as a string for full precision. Equivalent to `balance` but avoids floating-point truncation.                                                         |
| balance                                       | FLOAT             | Sum of end-of-day token balances for this address\_type.                                                                                                                              |
| usd\_balance\_current                         | FLOAT             | USD value of the token balance using the most recent available price, updated independently of balance changes.                                                                       |
| usd\_balance\_at\_block\_timestamp            | FLOAT             | USD value of the token balance using the price at the timestamp of the last balance-changing event.                                                                                   |
| usd\_exchange\_rate\_current                  | FLOAT             | Most recent USD price per unit of the token, used to compute `usd_balance_current`.                                                                                                   |
| usd\_exchange\_rate\_at\_block\_timestamp     | FLOAT             | USD price per unit of the token at the timestamp of the last balance-changing event.                                                                                                  |
| last\_activity\_block\_timestamp              | TIMESTAMP\_NTZ(9) | Timestamp of the block that last changed this balance.                                                                                                                                |
| last\_activity\_block\_slot                   | NUMBER(38,0)      | Solana slot number of the block containing the most recent activity for this account                                                                                                  |
| last\_activity\_block\_hash                   | VARCHAR(66)       | Hash of the block that last changed this balance.                                                                                                                                     |
| last\_activity\_txn\_index                    | NUMBER(38,0)      | Index of the transaction within its block for the most recent balance-changing activity.                                                                                              |
| last\_activity\_txn\_id                       | VARCHAR(16777216) | Transaction ID (hash or signature) of the most recent activity that changed this balance.                                                                                             |
| \_updated\_at\_\_usd\_exchange\_rate\_current | TIMESTAMP\_NTZ(9) | Timestamp (UTC) of the most recent update to the current USD exchange rate for this token. Updated independently when prices are refreshed, separate from balance data.               |
| \_updated\_at\_\_unhydrated                   | TIMESTAMP\_NTZ(9) | Timestamp of the unhydrated update.                                                                                                                                                   |
| \_created\_at                                 | TIMESTAMP\_NTZ(9) | Timestamp of when the entry was created in the database.                                                                                                                              |
| \_updated\_at                                 | TIMESTAMP\_NTZ(9) | Timestamp of when the entry was last updated in the database.                                                                                                                         |
| \_changed\_since\_full\_refresh               | BOOLEAN           | Indicates if the record has changed since the last full data refresh.                                                                                                                 |
| unique\_id                                    | VARCHAR(16777216) | Allium's deterministic unique identifier for this row. Generated from the fields that uniquely identify the record (e.g. transaction hash + log index). Stable across full refreshes. |
