User reserves data

get

Retrieves the user's reserve data from the AAVE v3 UI Pool Data Provider.

Authorizations
Query parameters
contract_addressstringRequired
  • The contract address of the AAVE v3 UI Pool Data Provider.
chain_idstringRequired
  • The chain ID where the contract is deployed.
providerstringRequired
  • The provider address.
userstringRequired
  • The user address whose reserve data is to be fetched.
Header parameters
AuthorizationstringRequired
  • The authorization token.
Responses
200
A promise that resolves to an AAVEv3UiPoolDataProviderAPIResponse containing an array of UserReserveData.
application/json
get
GET //aave/v3/pool-data/user-reserves-data HTTP/1.1
Host: beta.usemoon.ai
Authorization: text
Accept: */*
200

A promise that resolves to an AAVEv3UiPoolDataProviderAPIResponse containing an array of UserReserveData.

{
  "success": true,
  "message": "text",
  "data": [
    {
      "underlyingAsset": "text",
      "scaledATokenBalance": null,
      "usageAsCollateralEnabledOnUser": true,
      "stableBorrowRate": null,
      "scaledVariableDebt": null,
      "principalStableDebt": null,
      "stableBorrowLastUpdateTimestamp": null
    }
  ]
}