cURL
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" }
Get the amount of AVAX the user has supplied to lending protocols
Use this format: ApiKey <your_api_key>
ApiKey <your_api_key>
User wallet address
"0xb322E239E5A32724633A595b8f8657F9cbb307B2"
Chain ID (e.g., 43114 for Avalanche, 43113 for Fuji testnet)
43114
User AVAX supply retrieved successfully
true
"AVAX supply: 10.5"
"10.5"