Table Details
| Property | Value |
|---|---|
| Table Name | linea.stablecoins.balances_latest |
| Table Status | Production-Ready |
| Unique Key | token_address, address |
Table Columns
| Column Name | Data Type | Description |
|---|---|---|
| address | VARCHAR(42) | The wallet or contract address holding the stablecoin |
| token_address | VARCHAR(42) | Contract address of the stablecoin token |
| product_id | VARCHAR(16777216) | Allium stablecoin product identifier, grouping canonical and bridged variants (e.g. usdc) |
| currency | VARCHAR(16777216) | The reference currency the stablecoin is pegged to, as a lowercase ISO 4217 code |
| token_name | VARCHAR(16777216) | Name of the stablecoin |
| token_symbol | VARCHAR(16777216) | Symbol of the stablecoin |
| token_decimals | NUMBER(38,0) | Number of decimals used to convert raw amounts (normalized = raw / 10^decimals) |
| raw_balance_str | VARCHAR(16777216) | Balance, unnormalized, as string to retain precision |
| raw_balance | FLOAT | Balance in the tokenβs smallest unit, not decimal-adjusted |
| balance_str | VARCHAR(16777216) | Balance, normalized, as string to retain precision |
| balance | FLOAT | Balance, normalized by token decimals |
| usd_balance | FLOAT | Balance in USD, valued at the current price |
| usd_exchange_rate | FLOAT | Exchange rate used for USD conversion |
| price_source | VARCHAR(16777216) | Source used to determine the USD price (e.g. coingecko, peg) |
| block_date | DATE | UTC date of the block that last changed this balance |
| last_activity_block_timestamp | TIMESTAMP_NTZ(9) | Block timestamp of the most recent balance-changing activity |
| last_activity_block_number | NUMBER(38,0) | Block number of the most recent balance-changing activity |
| last_activity_block_hash | VARCHAR(16777216) | Block hash of the most recent balance-changing activity |
| unique_id | VARCHAR(16777216) | Unique identifier for the (address, token) 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. |