Leverage quote
gage_leverage_quotePreview a leveraged loop for a pledge and a multiple: amounts, cost and the most the purchase costs. Signs nothing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"token": "<token>",
"own": "<own>",
"multiple": "<multiple>",
"term": "<term>"
},
"name": "gage_leverage_quote"
}
}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; a lend asset's puts open with put_open) |