Skip to main content
GET
/
defi
/
lending
/
my-avax-supply
Get user AVAX supply
curl --request GET \
  --url http://localhost:4000/v1/defi/lending/my-avax-supply \
  --header 'Authorization: <api-key>'
{
  "success": true,
  "message": "AVAX supply: 10.5",
  "avaxSupply": "10.5"
}

Authorizations

Authorization
string
header
required

Use this format: ApiKey <your_api_key>

Query Parameters

userAddress
string
required

User wallet address

Example:

"0xb322E239E5A32724633A595b8f8657F9cbb307B2"

chainId
number
required

Chain ID (e.g., 43114 for Avalanche, 43113 for Fuji testnet)

Example:

43114

Response

User AVAX supply retrieved successfully

success
boolean
Example:

true

message
string
Example:

"AVAX supply: 10.5"

avaxSupply
string
Example:

"10.5"