postCryptoLoanFlexibleRepayCollateral
Repay a crypto loan by converting pledged collateral to the loan currency at market rate, solving the need to hold the loan currency.
Instructions
Repay loan by converting collateral to loan currency.
Features:
Use pledged collateral to repay loan
Auto-convert collateral at market rate
Convenient when lacking loan currency
Rate limit: 1 request per UID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loanCurrency | Yes | ||
| collateralCoin | Yes | ||
| amount | Yes |