Table Details
| Property | Value |
|---|---|
| Table Name | stellar.assets.balances |
| Table Status | Production-Ready |
| Unique Key | transaction_hash, unique_id |
Table Columns
| Column Name | Data Type | Description |
|---|---|---|
| asset_type | VARCHAR(16777216) | Stellar asset type: native, credit_alphanum4, or credit_alphanum12. |
| account_id | VARCHAR(16777216) | Stellar account (G-address) holding the balance. |
| asset_id | VARCHAR(16777216) | Composite asset identifier in issuer:code form for Classic assets. |
| asset_code | VARCHAR(16777216) | Asset code for the Classic asset. |
| asset_issuer | VARCHAR(16777216) | Issuer G-address of the Classic asset. |
| token_id | NUMBER(38,0) | Soroban token identifier. |
| raw_balance_str | VARCHAR(16777216) | Balance in stroops (unnormalized integer), stored as a string for full precision. |
| raw_balance | NUMBER(38,0) | Balance in stroops (unnormalized), not decimal-adjusted. |
| balance_str | VARCHAR(16777216) | 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. |
| ledger_entry_change_index | NUMBER(38,0) | Sequential index of this change within the transaction’s ledger entry changes. |
| transaction_hash | VARCHAR(16777216) | Hash of the transaction that produced this record. |
| 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(16777216) | Hash of the Stellar ledger. |
| _extra_fields | VARIANT | Catch-all VARIANT holding additional platform-specific metadata. |
| unique_id | VARCHAR(16777216) | Allium’s deterministic unique identifier for this row. |
| _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. |