Actions61
- Activity Actions
- Asset Actions
- Custom Query Actions
- Hub Actions
- Lending Actions
- Market Data Actions
- Position Management Actions
- Position Swap Actions
- Protocol Actions
- Reserve Actions
- Spoke Actions
- Swap Actions
- User Position Actions
Position Swap → Get Repay With Supply Quote
AI-generatedSummary
Get repayment supply quote for a debt position using a specified reserve
Inputs
- chainId — Choose from the list, or specify a bridge ID using an expression
- repayDebtPosition (required) — The ID of the debt position to repay (UserSupplyItemId)
- repayWithReserve (required) — The ID of the supply reserve to use for repayment
- repayAmount (required) — The amount to repay (in token units)
- repayUserAddress (required) — The user address performing the repayment
Output shape
a JSON object representing the supply swap quote
Typically returns a single object with fields such as quoteId, requiredSupplyAmount, estimatedPrice; exact structure depends on Aave API response
Examples
Example 1: Standard repay quote on Ethereum mainnet
chainId: "1", repayDebtPosition: "debt_item_123", repayWithReserve: "reserve_abc", repayAmount: "1.0", repayUserAddress: "0xAbc..."
Example 2: Use custom chain ID
chainId: "5", repayDebtPosition: "debt_item_456", repayWithReserve: "reserve_def", repayAmount: "0.5", repayUserAddress: "0xDef..."
Example 3: Minimal required inputs
repayDebtPosition: "debt_item_789", repayWithReserve: "reserve_ghi", repayAmount: "2.0", repayUserAddress: "0xGhi..."