> ## Documentation Index
> Fetch the complete documentation index at: https://docs.allium.so/llms.txt
> Use this file to discover all available pages before exploring further.

# TVL Daily

### Table Details

| Property | Value |
| - | - |
| Table Name | `sui.lending.tvl_daily` |
| Table Status | Production-Ready |
| Unique Key | `date`, `project`, `id` |
| Clustering Key(s) | `date, project` |

### Table Columns

| Column Name | Data Type | Description |
| - | - | - |
| date | TIMESTAMP\_NTZ(9) | Calendar date (UTC) this record represents. Used in daily aggregate tables. |
| project | VARCHAR(16777216) | Business name of the protocol being used (e.g. `uniswap`, `aave`, `lido`, `paraswap`). Consistent across verticals — every table with a `project` column uses this field to identify the top-level protocol brand. |
| protocol | VARCHAR(16777216) | Specific version or variant of the protocol (e.g. `uniswap_v3`, `aave_v2`, `stargate_v2`). Qualifies the `project` field with version information. |
| id | VARCHAR(16777216) | Unique identifier for this record within its dataset. The specific uniqueness scope (e.g. pool, position, market) depends on the model. |
| address | VARCHAR(16777216) | Market shared object id of the lending market. |
| token\_address | VARCHAR(16777216) | Contract address of the token. For EVM chains, native currency (e.g. ETH, MATIC) is represented as the zero address (0x0000000000000000000000000000000000000000). For Solana, this is the mint address. |
| token\_name | VARCHAR(16777216) | Full name of the token (e.g. "USD Coin", "Wrapped Ether"). |
| token\_symbol | VARCHAR(16777216) | Ticker symbol of the token (e.g. "USDC", "WETH"). |
| token\_decimals | NUMBER(38,0) | Number of decimal places used to represent the token's smallest unit. Used to convert raw amounts: normalized\_amount = raw\_amount / 10^decimals. For example, USDC has 6 decimals, so 2500000 raw units = 2.5 USDC. |
| available\_liquidity | FLOAT | Token amount supplied and not borrowed. |
| collateral\_amount | FLOAT | Token amount of collateral held outside the lending pool. 0 when the protocol does not report it. |
| balance | FLOAT | TVL in tokens, `available_liquidity + collateral_amount`. |
| balance\_str | VARCHAR(16777216) | `balance` as a string. |
| usd\_balance | FLOAT | USD value of `balance`; null if it would exceed the \$20B outlier guard or the token has no price. |
| usd\_exchange\_rate | FLOAT | USD price per unit of the token at the row's timestamp, used to compute the row's USD values. Sourced from Allium's hourly price feed. |
| last\_block\_timestamp | TIMESTAMP\_NTZ(9) | Timestamp of the state read this row was forward-filled from. |
| last\_checkpoint\_sequence | NUMBER(38,0) | Checkpoint of the state read this row was forward-filled from. |
| \_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. |
