In progress. This table is not served yet. The page documents it as it lands.
facts.lending_market_interest_rates combines the rate updates of every lending protocol we decode into one table: one row per rate update in a lending market. The marketβs contract emits its new rates whenever its balance of deposits and borrows changes. lending_market_id keys each row to its market in the Registry.
Columns
| Column | Type | Description |
|---|---|---|
block_timestamp | TIMESTAMP | Time of the block containing the update. Partition column. |
block_number | INT64 | Number of the block containing the update. |
transaction_hash | STRING | Hash of the transaction that emitted the update. |
log_index | INT64 | Position of the update event in the block. |
unique_id | INT64 | Row key: fingerprint of chain_id, block_number, transaction_hash, log_index. |
chain_id | STRING | Chain the market runs on. |
lending_market_id | STRING | Market the rates belong to; joins dimensions.lending_markets. |
project_id | STRING | Protocol operating the market, such as aave. |
token_id | STRING | Underlying token of the market: {token_address}-{chain_id}. |
deposit_rate | FLOAT64 | Annual rate paid to depositors, as a fraction. |
borrow_rate | FLOAT64 | Annual rate charged to borrowers, as a fraction. |
Sample queries
- Latest rates
- Rate history
Read the latest rates of every market in one protocol.