{"uid":"cap_yeFphIvSpx5EzIyq6Ev7a","slug":"halowerk-defiwerk-lending-health-check-adeb0f88","name":"HALOWERK DeFiWerk Lending Health Check","description":"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 answer s","url":"https://defi.halowerk.com/lending/health?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"enum":["base","ethereum","arbitrum","optimism","polygon"],"type":"string"},"wallet":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Address whose position is read. Public on-chain data only."},"protocol":{"enum":["aave-v3"],"type":"string"},"scenarios_pct":{"type":"array","items":{"type":"number","maximum":100,"minimum":-99},"maxItems":8,"description":"Price moves of the collateral in percent. Default -10, -20, -30, -50."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hOzjboS36PqW-ce_FFCGV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Reads all Aave v3 reserve positions for a wallet on a given chain — collateral, debt, LTV, liquidation thresholds, borrow rates — using on-chain oracle prices, and simulates liquidation risk under user-specified price scenarios.","exampleAgentPrompt":"Check my Aave v3 lending position on Base for wallet 0xAbC123...def456 — I want to see my health factor, collateral, debt, LTV and liquidation threshold, and also simulate what happens if my collateral drops 10%, 20%, 30%, and 50%.","exampleUseCases":[{"title":"Pre-liquidation risk alert for DeFi wallet","prompt":"Check my Aave v3 health factor and liquidation risk on Ethereum for wallet 0xAbC123...def456 — simulate price drops of -10%, -25%, and -40% on my collateral so I know how close I am to getting liquidated."},{"title":"Cross-chain DeFi position audit","prompt":"I have lending positions on Arbitrum using Aave v3, wallet 0xDef789...abc123 — can you pull all my reserves, collateral amounts, variable debt, and current borrow rates from the on-chain oracle?"},{"title":"Scenario planning before adding more debt","prompt":"Before I borrow more on Aave v3 on Polygon with wallet 0x111aaa...222bbb, show me my current LTV, liquidation threshold, and what my position looks like if collateral prices fall -20% or -50%."}],"resultDescription":"Returns a structured breakdown of every reserve the wallet has open on the specified Aave v3 deployment: collateral amounts in both token and USD terms using the protocol oracle price, variable and stable debt positions, LTV ratio, liquidation threshold, liquidation bonus, current borrow rates, the oracle contract address per asset, and projected health factors under each specified price scenario.","failureModes":["Invalid or checksummed wallet address returns a validation error","Unsupported chain/protocol combination returns an enum error","Wallet with no open Aave positions returns empty reserves array","Oracle contract unreachable or stale price data may cause timeout or stale-data warning","scenarios_pct values outside -99 to 100 range are rejected","Network RPC congestion may cause slow or partial reads at high block load"],"whenToPreferThis":"Choose this endpoint when you need on-chain oracle-priced risk data for an Aave v3 position rather than exchange market prices — critical for accurate liquidation simulation since Aave liquidations follow oracle prices, not CEX prices. Prefer over generic portfolio trackers when you need the exact oracle source contract, full reserve-level detail, and multi-scenario stress testing in a single call. Best when monitoring a specific wallet's DeFi lending risk across Base, Ethereum, Arbitrum, Optimism, or Polygon.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:33:02.570Z","isFirstParty":false,"canonicalSlug":"halowerk-defiwerk-lending-health-check-adeb0f88"}