Leverage quote
gage_leverage_quotePreview a leveraged loop for a pledge and a multiple: amounts, cost and the most the purchase costs. Signs nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| own | Yes | The tokens you put in, raw units | |
| term | Yes | Loan term in seconds, one of the terms gage_capabilities lists | |
| token | Yes | ||
| wallet | No | ||
| multiple | Yes | Leverage, 1.1 to 3 with at most two decimals (2 = twice the pledge held for the loan) | |
| lendAsset | No | USDG only: leverage lends USDG (a loop in a lend asset is refused) |