get_aave_user_position
Retrieve a wallet's AAVE position including supplied and borrowed assets, collateral status, e-mode, and health factor to assess liquidation risk.
Instructions
Use this when the user asks about a wallet's AAVE position — 'What is my health factor?', 'What have I supplied to AAVE?', 'How much have I borrowed?', 'Am I at risk of liquidation?', 'Show me my collateral and debt on Arbitrum'. Returns all supplied assets (with aToken balances), all borrowed assets (variable + stable debt), collateral flags, and e-mode category. Health Factor ≈ sum(collateral_i * price_i * liqThreshold_i) / sum(debt_i * price_i). HF < 1.0 = liquidatable. Amounts in native token units — divide by 10^decimals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Chain identifier | |
| userAddress | Yes | Ethereum wallet address of the user (0x..., lowercase). Returns empty arrays if address has no AAVE positions. |