getCryptoLoanCommonMaxCollateralAmount
Determine the maximum collateral you can safely redeem for a currency without causing liquidation.
Instructions
Query the maximum amount of collateral that can be redeemed (withdrawn) for a specific currency.
Features:
Private endpoint (authentication required)
Calculate safe withdrawal amount that maintains healthy LTV
Prevents accidental liquidation by showing maximum safe withdrawal
Rate limit: 5 requests per time window per UID
Use Cases:
Check how much collateral can be safely withdrawn
Ensure sufficient collateral remains after redemption
Prevent liquidation by validating withdrawal amounts
Important:
Returns 0 if withdrawing any amount would cause liquidation
Amount is calculated to maintain LTV below liquidation threshold
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currency | Yes |