Skip to main content

Table Details

PropertyValue
Table Namestellar.assets.balances
Table StatusProduction-Ready
Unique Keytransaction_hash, unique_id

Table Columns

Column NameData TypeDescription
asset_typeVARCHAR(16777216)Stellar asset type: native, credit_alphanum4, or credit_alphanum12.
account_idVARCHAR(16777216)Stellar account (G-address) holding the balance.
asset_idVARCHAR(16777216)Composite asset identifier in issuer:code form for Classic assets.
asset_codeVARCHAR(16777216)Asset code for the Classic asset.
asset_issuerVARCHAR(16777216)Issuer G-address of the Classic asset.
token_idNUMBER(38,0)Soroban token identifier.
raw_balance_strVARCHAR(16777216)Balance in stroops (unnormalized integer), stored as a string for full precision.
raw_balanceNUMBER(38,0)Balance in stroops (unnormalized), not decimal-adjusted.
balance_strVARCHAR(16777216)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.
ledger_entry_change_indexNUMBER(38,0)Sequential index of this change within the transaction’s ledger entry changes.
transaction_hashVARCHAR(16777216)Hash of the transaction that produced this record.
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(16777216)Hash of the Stellar ledger.
_extra_fieldsVARIANTCatch-all VARIANT holding additional platform-specific metadata.
unique_idVARCHAR(16777216)Allium’s deterministic unique identifier for this row.
_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.