Table Details
| Property | Value |
|---|---|
| Table Name | stellar.assets.fungible_balances |
| Table Status | Production-Ready |
| Unique Key | ledger_close_time::date, _account_short, _asset_id_short, account, asset_id, ledger_sequence, unique_id |
| Clustering Key(s) | ledger_close_time::date, _account_short, _asset_id_short |
| Search Optimization | _account_short, account, _asset_id_short, asset_id |
Table Columns
| Column Name | Data Type | Description |
|---|---|---|
| asset_type | VARCHAR(134217728) | Stellar asset type: native, credit_alphanum4, or credit_alphanum12. |
| account | VARCHAR(134217728) | Stellar account (G-address) holding the balance. |
| asset_id | VARCHAR(134217728) | Composite asset identifier in issuer:code form for Classic assets. |
| asset_code | VARCHAR(134217728) | Asset code for the Classic asset. |
| asset_issuer | VARCHAR(134217728) | Issuer G-address of the Classic asset. |
| balance_str | VARCHAR(134217728) | Normalized balance stored as a string for full precision. |
| balance | FLOAT | Balance normalized by the asset’s decimal precision (raw_balance / 10^decimals). |
| usd_balance | FLOAT | USD value of the balance at the time of the snapshot. |
| usd_exchange_rate | FLOAT | USD price per unit of the asset, used to compute usd_balance. |
| transaction_hash | VARCHAR(66) | Hash of the transaction that produced this balance change. |
| transaction_index | NUMBER(38,0) | Zero-based position of the transaction within its ledger. |
| ledger_close_time | TIMESTAMP_NTZ(9) | Timestamp (UTC) when the Stellar ledger closed and was validated by the network. |
| ledger_sequence | NUMBER(38,0) | Stellar ledger sequence number (ledger height). |
| ledger_hash | VARCHAR(66) | Hash of the Stellar ledger. |
| unique_id | VARCHAR(134217728) | Allium’s deterministic unique identifier for this row. |
| _account_short | VARCHAR(134217728) | Shortened form of the Stellar account address, used for clustering and search optimization. |
| _asset_id_short | VARCHAR(134217728) | Shortened form of the asset identifier, used for clustering and search optimization. |
| _pseudo_global_order | NUMBER(38,0) | Internal ordering key used for consistent incremental processing. |
| _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. |