| BALANCE_DATE | DATE | The date for which the balance snapshot is recorded. This field represents the calendar date (in UTC) for the daily balance record, providing the time dimension for balance analysis. Data type: DATE Business context: Essential for time-series analysis of token balances, portfolio tracking, and historical balance lookups. Analytics use cases: Daily balance trending, portfolio performance analysis, holder distribution over time, and balance change pattern analysis. Example: 2024-01-15, 2024-01-16 |
| ACCOUNT | TEXT | The base58-encoded address of the account holding the asset. For native SOL, this is the wallet address. For SPL tokens, this is the token account address. Used to attribute balances and transfers to specific accounts. Example: Native SOL: 7GgkQ2… (wallet address) SPL Token: 9xQeWv… (token account address) |
| AMOUNT | FLOAT | The account’s balance after the transaction, decimal-adjusted. For SOL, this is in units of SOL (not lamports); for tokens, this is in the token’s native units (adjusted for mint decimals). Data type: Numeric (decimal) Example: SOL: 0.23456789 (represents 0.23456789 SOL after a transfer) USDC: 50.00 (represents 50 USDC tokens after a transfer) |
| LAST_BALANCE_CHANGE | DATE | The date when this account last had an actual balance change that resulted in a positive balance. This field tracks the most recent date when the balance was modified to a positive amount, which may be earlier than the balancedate due to forward-filling of balances on days with no activity. Note that accounts with zero balances are excluded from daily balance tables. Data type: DATE Business context: Used to identify active vs. inactive accounts, understand balance change frequency, and disti… |
| BALANCE_CHANGED_ON_DATE | BOOLEAN | Boolean flag indicating whether the balance actually changed on this specific date. TRUE means there was a balance-changing transaction on this date, FALSE means the balance was forward-filled from a previous date to maintain a complete daily time series. Data type: BOOLEAN Business context: Distinguishes between days with actual balance activity versus days where balances are carried forward. Critical for understanding account activity patterns and data completeness. Analytics use cases: Acc… |
| SOL_DAILY_BALANCES_ID | TEXT | A unique, stable identifier for each record in this table. The primary key (PK) ensures that every row is uniquely identifiable and supports efficient joins, lookups, and data integrity across models. The PK may be a natural key (such as a blockchain transaction hash) or a surrogate key generated from one or more fields, depending on the table’s structure and requirements. |
| INSERTED_TIMESTAMP | TIMESTAMP_NTZ | The timestamp when this transaction record was first inserted into the analytics database. Used for data freshness tracking and incremental model logic. Format: YYYY-MM-DD HH:MI:SS. Not derived from the blockchain, but from the ETL process. |
| MODIFIED_TIMESTAMP | TIMESTAMP_NTZ | The timestamp when this transaction record was last updated in the analytics database. Used for tracking updates and supporting incremental model logic. Format: YYYY-MM-DD HH:MI:SS. Not derived from the blockchain, but from the ETL process. |
| _INVOCATION_ID | TEXT | _INVOCATION_ID column |