> ## 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   | `aptos.dex.tvl_daily` |
| Table Status | Production-Ready      |

### Table Columns

| Column Name              | Data Type         | Description                                                                                                                                                                                                           |
| ------------------------ | ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| date                     | TIMESTAMP\_NTZ(9) | End-of-day date (UTC) of the balance snapshot.                                                                                                                                                                        |
| 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.                                                                    |
| pool\_name               | VARCHAR(16777216) | Pool name from Curve API                                                                                                                                                                                              |
| liquidity\_pool\_address | VARCHAR(16777216) | Contract address of the liquidity pool where this trade was executed. Null when the routing path is not emitted by the event (common for aggregator trades).                                                          |
| 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. |
| raw\_balance\_str        | VARCHAR(16777216) | Token balance in the smallest unit, stored as a string for full precision. Avoids floating-point truncation for tokens with very large integer balances.                                                              |
| raw\_balance             | FLOAT             | Token balance in the token's smallest unit (not decimal-adjusted). Use `balance` for the human-readable normalized value.                                                                                             |
| balance\_str             | VARCHAR(16777216) | Normalized token balance stored as a string for full precision. Equivalent to `balance` but avoids floating-point truncation.                                                                                         |
| balance                  | FLOAT             | Sum of end-of-day token balances for this address\_type.                                                                                                                                                              |
| usd\_balance             | FLOAT             | USD value of the token balance, computed using the exchange rate at the time of the balance snapshot.                                                                                                                 |
| usd\_exchange\_rate      | FLOAT             | USD price per unit of the token at the time of the event, used to compute `usd_amount`. Sourced from Allium's hourly price feed.                                                                                      |
| last\_block\_timestamp   | TIMESTAMP\_NTZ(9) | Timestamp of the last block included in the TVL calculation.                                                                                                                                                          |
| last\_block\_height      | NUMBER(38,0)      | Block height of the last block produced in this epoch                                                                                                                                                                 |
| last\_block\_number      | NUMBER(38,0)      | Block number of the last block included in the TVL calculation.                                                                                                                                                       |
| \_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.                                                                                                                                                         |
