Lending Rates
What is this endpoint for?
This endpoint provides information about lending pools. It shows data such as how many tokens has been deposited and borrowed, as well as the interest rates for lending and borrowing at each block.
Endpoint
Parameters
Parameter | Required | Description | Example |
---|---|---|---|
| No | One or several of the currently supported blockchain. Default: ethereum. |
|
| Yes | One or several of the currently supported L&B protocols. |
|
| No | L&B events including the requested token. Default: all available tokens. |
|
| No | Shows the data as soon as the block is validated. (Default: false, in case of block reorganization). |
|
| No | Block height. |
|
| No | Starting block height (inclusive). |
|
| No | Ending block height (inclusive). |
|
| No | Starting time in ISO 8601 (inclusive). |
|
| No | Ending time in ISO 8601 (inclusive). |
|
| No | Interval between each snapshot. The suffixes are s (second), m (minute), h (hour), d (day), b (block), change (whenever a change happens). Default: 1b. |
|
| No | Returns the data in ascending or descending order. Default: desc. |
|
| No | Number of snapshots to return data for. (default: 100, min: 1, max: 1000). See Pagination |
|
Fields
Field | Description | Example |
---|---|---|
| The blockchain on which the transaction happened. |
|
| The height of the block in which the transaction happened. |
|
| The timestamp of the block in which the transaction happened. |
|
| Code of the L&B protocol. |
|
| Symbol of the underlying asset. |
|
| Address of the underlying asset. |
|
| Decimals of the underlying asset. |
|
| Symbol of the receipt asset. |
|
| Address of the receipt asset. |
|
| Decimals of the receipt asset. |
|
| The total amount of liquidity for this pool. |
|
| The total amount of available liquidity for this pool. |
|
| The total amount of tokens borrowed for this pool. |
|
| The supply rate. |
|
| The stable borrow rate. |
|
| The variable borrow rate. |
|
| Metadata specific to each protocol. | More information below |
Metadata information
AAVE v1
Field | Description | Example |
---|---|---|
| The total amount of assets borrowed with a stable rate for this pool. |
|
| The total amount of assets borrowed with a variable rate for this pool. |
|
AAVE v2
Field | Description | Example |
---|---|---|
| The total amount of assets borrowed with a stable rate for this pool. |
|
| The total amount of assets borrowed with a variable rate for this pool. |
|
| Total liquidity - All of the debt tokens supply. |
|
Compound
Field | Description | Example |
---|---|---|
| Total liquidity - All of the debt tokens supply. |
|
Cream
Field | Description | Example |
---|---|---|
| Total liquidity - All of the debt tokens supply. |
|
Maker
Field | Description | Example |
---|---|---|
| Minimum ratio of collateral before liquidation. |
|
| Maximum amount of DAI that can be emitted on this type of vault. |
|
| Minimum amount of DAI that can be minted for this type of Vault. |
|
Request example
Response example
Last updated