postCryptoLoanCommonAdjustLtv
Adjust loan collateral to manage LTV ratio: add collateral to lower liquidation risk or remove excess collateral when LTV is safe.
Instructions
Adjust the amount of collateral for a specific currency to manage the LTV ratio.
Features:
Private endpoint (authentication required)
Add collateral to reduce LTV and lower liquidation risk
Remove collateral to free up assets (if LTV allows)
Returns an adjustId for tracking the adjustment operation
Rate limit: 1 request per time window per UID
Use Cases:
Add collateral when approaching liquidation threshold
Remove excess collateral when LTV is safe
Rebalance collateral portfolio
Manage risk by adjusting collateral levels
Important:
direction: 1 = Add collateral, 2 = Remove collateral
Removing collateral requires sufficient margin to maintain safe LTV
Cannot remove collateral if it would trigger liquidation
Users without active loans cannot adjust collateral
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| currency | Yes | ||
| direction | Yes |