| token_type | VARCHAR(16777216) | Token standard or category (e.g. erc20, erc721, native). |
| address | VARCHAR(16777216) | Blockchain account address this record pertains to. |
| token_address | VARCHAR(16777216) | Contract address of the token. On EVM chains native currency is represented as the zero address. |
| token_name | VARCHAR(16777216) | Human-readable name of the token. |
| token_symbol | VARCHAR(16777216) | Ticker symbol of the token. |
| balance | FLOAT | Decimal-adjusted token balance held by the address. |
| prev_balance | FLOAT | Token balance held by the address immediately before this transaction. |
| balance_change | FLOAT | Change in token balance produced by this transaction. |
| usd_exchange_rate | FLOAT | USD price of one unit of the token at the record’s timestamp. |
| usd_balance | FLOAT | USD value of the balance at the record’s timestamp. |
| usd_balance_change | FLOAT | Change in USD value of the address’s balance produced by this transaction. |
| usd_exchange_rate_latest | FLOAT | Latest available USD price of one unit of the token. |
| usd_balance_latest | FLOAT | USD value of the address’s balance valued at the latest available price. |
| transaction_type | VARCHAR(16777216) | Type or category of the transaction that produced this record. |
| tokens_purchased | FLOAT | Quantity of tokens purchased in this transaction. |
| tokens_sold | FLOAT | Quantity of tokens sold in this transaction. |
| average_cost | FLOAT | Average USD cost basis per token unit held by the address, updated as positions change. |
| cumulative_costs | FLOAT | Running total USD cost of tokens acquired by the address. |
| cumulative_quantities | FLOAT | Running total quantity of tokens acquired by the address. |
| realized_pnl | FLOAT | Cumulative realized profit and loss (USD) from tokens the address has sold. |
| realized_pnl_this_tx | FLOAT | Realized profit and loss (USD) attributable to this transaction. |
| unrealized_pnl | FLOAT | Unrealized profit and loss (USD) on the address’s remaining holdings at this record’s time. |
| unrealized_pnl_latest | FLOAT | Unrealized profit and loss (USD) on the address’s holdings valued at the latest available price. |
| block_timestamp | TIMESTAMP_NTZ(9) | Timestamp (UTC) of the block that contains this record. |
| block_number | NUMBER(38,0) | Sequential number of the block that contains this record. Starts at 0 (genesis) and increments by 1 per block. |
| block_hash | VARCHAR(16777216) | Cryptographic hash of the block header that contains this record. Uniquely identifies a block. |
| unique_id | VARCHAR(16777216) | Allium’s deterministic unique identifier for this row, generated from the fields that uniquely identify the record. Stable across full refreshes. |