cURL
curl --request POST \ --url https://api.relayer.fi/v1/defi/lending/supply-avax \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "userAddress": "0xb322E239E5A32724633A595b8f8657F9cbb307B2", "amount": 0.1, "chainId": 43114 }'
{ "success": true, "message": "<string>", "serializedTransaction": "<string>", "gasEstimation": { "gasLimit": "<string>", "estimatedCost": "<string>" } }
Prepare a transaction to supply AVAX to AAVE lending pool
Use this format: ApiKey <your_api_key>
ApiKey <your_api_key>
"0xb322E239E5A32724633A595b8f8657F9cbb307B2"
Amount of AVAX to supply
0.1
Chain ID (43114 for Avalanche)
43114
Supply transaction prepared successfully
Show child attributes