User wallet balances

get

Retrieves the wallet balances for a user from the AAVE v3 Wallet Balance Provider.

Authorizations
Query parameters
contract_addressstringRequired
  • The contract address to query.
chain_idstringRequired
  • The chain ID to query.
providerstringRequired
  • The provider to use for querying balances.
userstringRequired
  • The user address to query balances for.
Header parameters
AuthorizationstringRequired
  • The authorization token from the request header.
Responses
200
A promise that resolves to an object containing the user's wallet balances.
application/json
get
GET //aave/v3/wallet-balance/user-wallet-balances HTTP/1.1
Host: beta.usemoon.ai
Authorization: text
Accept: */*
200

A promise that resolves to an object containing the user's wallet balances.

{
  "success": true,
  "message": "text",
  "data": {
    "balances": [
      "text"
    ],
    "tokens": [
      "text"
    ]
  }
}