Skip to main content
metrics.lending_markets_daily holds one row per lending market per day: total value locked, active loans and collateral. Figures are in USD. lending_market_id joins Registry.

Columns

ColumnTypeDescription
timestampTIMESTAMPDay of the row. The partition column.
lending_market_idSTRINGMarket the row describes. Joins dimensions.lending_markets.
tvlBIGNUMERICTotal value supplied to the market, USD: idle plus borrowed.
active_loansBIGNUMERICUSD value of open loans (outstanding borrows) on the market.
collateralBIGNUMERICUSD value of the market’s tokens posted as collateral, backing open loans.

Sample queries

Read one market’s daily TVL, active loans and collateral.