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
| Column | Type | Description |
|---|---|---|
timestamp | TIMESTAMP | Day of the row. The partition column. |
lending_market_id | STRING | Market the row describes. Joins dimensions.lending_markets. |
tvl | BIGNUMERIC | Total value supplied to the market, USD: idle plus borrowed. |
active_loans | BIGNUMERIC | USD value of open loans (outstanding borrows) on the market. |
collateral | BIGNUMERIC | USD value of the marketβs tokens posted as collateral, backing open loans. |
Sample queries
- One market's series
- Markets by TVL
Read one marketβs daily TVL, active loans and collateral.