GetReserveData
Aave V2 Getter Plugin - GetReserveData
Description
Returns the state and configuration of the reserve
Method
getReserveData(address)
Input Parameters
No required input parameters
Method Parameters
Name | Plugin Type | Description |
---|---|---|
asset |
| Address of asset |
Returned Values
Name | Plugin Type | Description |
---|---|---|
configuration |
| |
liquidityIndex |
| Liquidity index in ray |
variableBorrowIndex |
| Variable borrow index in ray |
currentLiquidityRate |
| Current supply / liquidity / deposit rate in ray |
currentVariableBorrowRate |
| Current variable borrow rate in ray |
currentStableBorrowRate |
| Current stable borrow rate in ray |
lastUpdateTimestamp |
| Timestamp of when reserve data was last updated |
aTokenAddress |
| Address of associated aToken (tokenised deposit) |
stableDebtTokenAddress |
| Address of associated stable debt token |
variableDebtTokenAddress |
| Address of associated variable debt token |
interestRateStrategyAddress |
| Address of interest rate strategy. |
id |
| The position in the list of active reserves |
Example
Example with initParams
Example without initParams
Learn more
Learn more about Aave V2 get reserve data method here
Last updated