postCryptoLoanCommonMaxLoan
Calculate the maximum loan amount for a currency based on your collateral, VIP level, and existing loans. Determine borrowing capacity before creating a loan order.
Instructions
Calculate the maximum amount that can be borrowed for a specific currency based on provided collateral.
Features:
Private endpoint (authentication required)
Calculate max loan based on collateral list
Consider user's VIP level for quota limits
Account for existing borrowed amounts
Return both currency amount and USD notional value
Rate limit: 5 requests per time window per UID
Use Cases:
Check how much can be borrowed before creating a loan order
Validate collateral is sufficient for desired loan amount
Compare borrowing capacity across different collateral combinations
Plan collateral allocation for optimal borrowing
Important:
Considers user's VIP level quota limits
Accounts for existing borrowed amounts
Calculates based on real-time collateral ratios
Returns 0 if collateral insufficient or quota exhausted
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currency | Yes | ||
| collateralList | Yes |