Skip to main content
Repay borrowed assets to improve account health. Like deposits, approval is handled automatically if needed.
const repayAmount = 0.001;
const tx = await sdk.repayDebt(wbtcAddress, repayAmount);
console.log("Repayment transaction:", tx);