GetUserReserveData
Aave V2 Getter Plugin - GetUserReserveData
Description
Returns the user
's reserve data for asset
.
Method
getUserReserveData(address, address)
Input Parameters
No required input parameters
Method Parameters
Name | Plugin Type | Description |
---|---|---|
asset |
| Address of asset |
user |
| Address of user |
Returned Values
Name | Plugin Type | Description |
---|---|---|
currentATokenBalance |
| Current aToken balance of |
currentStableDebt |
| Current stable debt the |
currentVariableDebt |
| Current variable debt of the |
principalStableDebt |
| The principal stable debt of the |
scaledVariableDebt |
| The scaled variable debt of the |
stableBorrowRate |
| The stable borrow rate of the |
liquidityRate |
| The interest rate being earned by the user for deposits |
stableRateLastUpdated |
| The timestamp of the last stable rate update |
usageAsCollateralEnabled |
| Whether the |
Example
Example with initParams
Example without initParams
Learn more
Learn more about Aave V2 get user reserve data method here
Last updated