loan_get_simulation
Calculate loan-to-value (LTV) ratio and APR for a crypto loan by entering guarantee or loan amount. Use this simulation to preview loan terms before creation.
Instructions
Simulate loan LTV and APR. Provide guarantee_amount OR loan_amount (other is calculated). Requires guarantee_symbol (crypto), loan_symbol, user_symbol (fiat). Returns amounts, LTV ratio (1.0=100%, lower=safer), and APR. Use before loan_create. [PUBLIC]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guarantee_symbol | No | Guarantee cryptocurrency symbol (e.g., BTC) | |
| loan_symbol | No | Loan currency symbol (e.g., USDC, EURC, EUR). Can be any supported currency. | |
| user_symbol | No | User's symbol (e.g., EUR) | |
| guarantee_amount | No | Guarantee amount (optional if loan_amount is given) | |
| loan_amount | No | Loan amount (optional if guarantee_amount is given) |