Skip to main content

Table Details

PropertyValue
Table Namestellar.assets.fungible_balances
Table StatusProduction-Ready
Unique Keyledger_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
Important: Stellar’s raw and assets datasets are migrating from the Horizon API to the Stellar RPC. The Stellar-RPC-sourced (v2) tables are available now, switch your queries to the v2 datasets. See Deprecated Stellar v1 for more information.

Table Columns

Column NameData TypeDescription
asset_typeVARCHAR(134217728)Stellar asset type: native, credit_alphanum4, or credit_alphanum12.
accountVARCHAR(134217728)Stellar account (G-address) holding the balance.
asset_idVARCHAR(134217728)Composite asset identifier in issuer:code form for Classic assets.
asset_codeVARCHAR(134217728)Asset code for the Classic asset.
asset_issuerVARCHAR(134217728)Issuer G-address of the Classic asset.
balance_strVARCHAR(134217728)Normalized balance stored as a string for full precision.
balanceFLOATBalance normalized by the asset’s decimal precision (raw_balance / 10^decimals).
usd_balanceFLOATUSD value of the balance at the time of the snapshot.
usd_exchange_rateFLOATUSD price per unit of the asset, used to compute usd_balance.
transaction_hashVARCHAR(66)Hash of the transaction that produced this balance change.
transaction_indexNUMBER(38,0)Zero-based position of the transaction within its ledger.
ledger_close_timeTIMESTAMP_NTZ(9)Timestamp (UTC) when the Stellar ledger closed and was validated by the network.
ledger_sequenceNUMBER(38,0)Stellar ledger sequence number (ledger height).
ledger_hashVARCHAR(66)Hash of the Stellar ledger.
unique_idVARCHAR(134217728)Allium’s deterministic unique identifier for this row.
_account_shortVARCHAR(134217728)Shortened form of the Stellar account address, used for clustering and search optimization.
_asset_id_shortVARCHAR(134217728)Shortened form of the asset identifier, used for clustering and search optimization.
_pseudo_global_orderNUMBER(38,0)Internal ordering key used for consistent incremental processing.
_created_atTIMESTAMP_NTZ(9)Timestamp of when the entry was created in the database.
_updated_atTIMESTAMP_NTZ(9)Timestamp of when the entry was last updated in the database.
_changed_since_full_refreshBOOLEANIndicates if the record has changed since the last full data refresh.