{"uid":"cap_rXBS7ZaVyYYzT_anYfCNt","slug":"meryol-payai-chain-health-check-017021fb","name":"meryol-payai Chain Health Check","description":"Pre-burst chain liveness check: probes a pool of public RPCs in parallel; median block number, max lag between RPCs, head age, latency, 0-100 health score. Call before timing a tx burst or switching RPC. Chains: ethereum, base, arbitrum, optimism.","url":"https://meryol-payai.hf.space/chain/health/:chain?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"pathParams":{"type":"object","required":["chain"],"properties":{"chain":{"enum":["ethereum","base","arbitrum","optimism"],"type":"string"}}},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["score_0_100","healthy_rpc_count"]}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","pathParams":{"chain":"ethereum"},"queryParams":{}}},"response":{"rpcs":[{"rpc":"https://ethereum-rpc.publicnode.com","error":null,"block_ts":1781761535,"latency_ms":58,"block_number":25342443},{"rpc":"https://eth.drpc.org","error":null,"block_ts":1781761535,"latency_ms":109,"block_number":25342443},{"rpc":"https://1rpc.io/eth","error":null,"block_ts":1781761523,"latency_ms":130,"block_number":25342442},{"rpc":"https://cloudflare-eth.com","error":null,"block_ts":0,"latency_ms":113,"block_number":0}],"chain":"ethereum","notes":["rpc_divergence_25342443_blocks"],"head_age_s":6,"score_0_100":80,"max_lag_blocks":25342443,"total_rpc_count":4,"healthy_rpc_count":4,"median_block_number":25342443}},"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_iZydGxGppAQRSx_GgvGMw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Probes multiple public RPC nodes in parallel for a given EVM chain and returns a 0-100 health score, median block number, RPC lag, head age, and per-node latency.","exampleAgentPrompt":"Before I fire off this batch of Ethereum transactions, can you run a chain health check on Ethereum and tell me the RPC health score, block lag, and how fresh the latest block is?","exampleUseCases":null,"resultDescription":"Returns a 0-100 health score, the median block number across probed RPCs, the maximum block lag between nodes, the age of the chain head in seconds, per-node latency figures, and a count of healthy RPC nodes — all sampled in parallel at call time.","failureModes":["Unsupported chain name returns 422 or 404 — only ethereum, base, arbitrum, optimism are valid","All RPC nodes unreachable returns a low health score or error state","Intermittent Hugging Face Space cold-start latency may add several seconds to first response","Payment failure (x402) returns 402 if USDC balance is insufficient"],"whenToPreferThis":"Choose this endpoint when you need a quick pre-transaction or pre-burst liveness assessment of a specific EVM chain's public RPC pool — especially when you want a single aggregated health score rather than querying individual RPC endpoints yourself. Ideal for DeFi bots, transaction schedulers, or any agent that switches RPC providers based on network conditions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:31:12.090Z","isFirstParty":false,"canonicalSlug":"meryol-payai-chain-health-check-017021fb"}