Balance of

get

Retrieves the balance of a specific token for a user from the AAVE v3 Wallet Balance Provider.

Authorizations
Query parameters
contract_addressstringRequired
  • The address of the contract to query.
chain_idstringRequired
  • The ID of the blockchain network.
userstringRequired
  • The address of the user whose balance is being queried.
token_addressstringRequired
  • The address of the token to query the balance for.
Header parameters
AuthorizationstringRequired
  • The authorization token for the request.
Responses
200
A promise that resolves to an AAVEv3WalletBalanceProviderAPIResponse containing the balance as a string.
application/json
get
GET //aave/v3/wallet-balance/balance-of HTTP/1.1
Host: beta.usemoon.ai
Authorization: text
Accept: */*
200

A promise that resolves to an AAVEv3WalletBalanceProviderAPIResponse containing the balance as a string.

{
  "success": true,
  "message": "text",
  "data": "text"
}