The lending.tvl_daily table contains daily total value locked (TVL) for lending protocols, providing a comprehensive view of the assets locked in these protocols over time.

This table offers daily snapshots of TVL across major lending protocols, broken down by token, enabling analysis of protocol growth, token distribution, and market trends.

Table Columns

Unique Key: date, address, token_address

ColumnData TypeDescription
dateDATEDate of the TVL snapshot
projectVARCHARName of the lending project
protocolVARCHARUnderlying protocol that the lending project is utilizing
addressVARCHARAddress of the lending market or contract
token_addressVARCHARAddress of the token locked in the protocol
token_nameVARCHARName of the token locked in the protocol
token_symbolVARCHARSymbol of the token locked in the protocol
token_decimalsINTEGERNumber of decimals of the token
raw_balance_strVARCHARRaw token balance in string format to retain precision
raw_balanceFLOATRaw token balance as a numeric value
balance_strVARCHARNormalized token balance in string format to retain precision
balanceFLOATNormalized token balance as a numeric value
usd_balanceFLOATUSD value of the token balance at the time of the snapshot
usd_exchange_rateFLOATUSD exchange rate of the token at the time of the snapshot
last_block_timestampTIMESTAMP_NTZ(9)Timestamp of the last block included in the TVL calculation
last_block_numberINTEGERBlock number of the last block included in the TVL calculation
_created_atTIMESTAMP_NTZ(9)Timestamp of when the record was created
_updated_atTIMESTAMP_NTZ(9)Timestamp of when the record was last updated