Zum Inhalt
HALOWERK

Defiwerk

lending / health

Resolves pool, price oracle and data provider through the protocol address provider rather than hard-coded addresses, then reads every reserve the wallet touches: collateral amounts, variable and stable debt, LTV, liquidation threshold, liquidation bonus and the borrow rate, all at one block. Values are computed with the price the protocol oracle reports, not with a market price from an exchange — a liquidation follows the oracle, and the oracle source contract per asset is named in the.

POST https://defi.halowerk.com/lending/health

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
chainstringJa
protocolstringJa
walletstringJaAddress whose position is read. Public on-chain data only.
scenarios_pctarrayNeinPrice moves of the collateral in percent. Default -10, -20, -30, -50.
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "chain",
    "protocol",
    "wallet"
  ],
  "additionalProperties": false,
  "properties": {
    "chain": {
      "type": "string",
      "enum": [
        "base",
        "ethereum",
        "arbitrum",
        "optimism",
        "polygon"
      ]
    },
    "protocol": {
      "type": "string",
      "enum": [
        "aave-v3"
      ]
    },
    "wallet": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{40}$",
      "description": "Address whose position is read. Public on-chain data only."
    },
    "scenarios_pct": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": -99,
        "maximum": 100
      },
      "maxItems": 8,
      "description": "Price moves of the collateral in percent. Default -10, -20, -30, -50."
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "chain": "base",
  "protocol": "aave-v3",
  "wallet": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →