{"uid":"cap_wPvP9quWtBW8U1mE7SDCH","slug":"defi-shield-hazel-vercel-app-dfc47bf8","name":"DeFi Shield Chain Health Monitor","description":"","url":"https://defi-shield-hazel.vercel.app/api/chain/health","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","bodyType","body","method"],"properties":{"body":{"properties":{"chain":{"type":"string","description":"Chain name (default: base)"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":{"request":{"input":{"body":{"chain":"base"},"type":"http","method":"POST","bodyType":"json"}},"response":{"tvl":4023715464.9255104,"type":"Optimistic Rollup","chain":"Base","status":"active","chain_id":"8453","finality":"~7 days challenge period","gas_gwei":{"fast":0.0054,"slow":0.0054,"standard":0.0054},"timestamp":"2026-06-13T04:21:58.951Z","latest_block":null,"response_time_ms":77,"block_production_status":"active_by_tvl"}},"exampleRequest":{"chain":"base"},"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3E2JXmqpKGW16CNhlVOMs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time health metrics for a specified blockchain including TVL, gas prices, block production status, finality details, and chain type","exampleAgentPrompt":"Can you check the current health of the Base chain — I want to know its TVL, gas prices, block production status, and whether it's active right now?","exampleUseCases":null,"resultDescription":"A JSON object containing the chain name, chain ID, chain type (e.g. Optimistic Rollup), active status, TVL in USD, gas prices (fast/standard/slow in gwei), finality period description, latest block (if available), block production status, response time in milliseconds, and a UTC timestamp of the query.","failureModes":["Unsupported chain name returns error or empty response","Chain temporarily unreachable results in degraded or null metrics","latest_block may be null if chain indexer is unavailable","Network timeout if upstream data provider is slow","Invalid chain identifier returns validation error"],"whenToPreferThis":"Use this endpoint when you need a quick, unified snapshot of a blockchain's health — combining TVL, gas, and block production into one call. Ideal for DeFi agents that need to decide whether a chain is suitable for a transaction, monitor network conditions before executing a swap or bridge, or surface infrastructure status to users. Prefer this over separate gas or TVL APIs when you need a holistic chain-level view in a single request.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:49:31.861Z","isFirstParty":false}