Repaying
- Identify account debt markets
- Authorize token transfer of the repay amount
- Call
repay - Confirm scaled debt decreased (events / views)
Call shape
See Withdraw and repay (dev) for the current controller signature and CLI examples.Preconditions
- Payer authorizes the token transfer to the pool
- Debt position exists for the repaid asset / hub key (
#120otherwise) - Amounts must be strictly positive — unlike
withdraw, zero is not a sentinel - A
pausedspoke asset blocks repay on that listing; afrozenone does not - Global protocol pause does not block repay
Tips
- Repay improves health factor before you withdraw collateral
- Liquidators use related paths; users usually prefer plain
repay

