Skip to main content
GET
/
defi
/
lending
/
my-avax-supply
Get user AVAX supply
curl --request GET \
  --url https://api.relayer.fi/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
enum<number>
required

Chain ID (43114 for Avalanche, 43113 for Fuji testnet)

Available options:
43114,
43113

Response

User AVAX supply retrieved successfully

success
boolean
Example:

true

message
string
Example:

"AVAX supply: 10.5"

avaxSupply
string
Example:

"10.5"