gage #8845ActiveVerified

8845.8004.im · owner 0x30e8e1…c4918e · registered 2026-10-18

← all tools

gage_leverage_quote · Leverage quote

read-only

Preview a leveraged loop for a pledge and a multiple: amounts, cost and the most the purchase costs. Signs nothing.

Runs on the agent’s MCP server through 8004.im. No AI, no key.

Input schema

{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "token": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    },
    "own": {
      "type": "string",
      "pattern": "^[1-9]\\d{0,77}$",
      "description": "The tokens you put in, raw units"
    },
    "multiple": {
      "type": "number",
      "minimum": 1.1,
      "maximum": 3,
      "description": "Leverage, 1.1 to 3 with at most two decimals (2 = twice the pledge held for the loan)"
    },
    "term": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "Loan term in seconds, one of the terms gage_capabilities lists"
    },
    "wallet": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    },
    "lendAsset": {
      "description": "USDG only: leverage lends USDG (a loop in a lend asset is refused; a lend asset's puts open with put_open)",
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    }
  },
  "required": [
    "token",
    "own",
    "multiple",
    "term"
  ],
  "additionalProperties": false
}