{"uid":"cap_Nw_0UIAls8zTCjrBu6SVO","slug":"animica-l1-chain-health-check-c4aa3eff","name":"Animica L1 Chain Health Check","description":"Whether the Animica L1 is healthy enough to transact on right now: head height and hash, sync lag (blocks vs headers), difficulty and PoIES theta, measured network hashrate with its window and estimator named, mempool depth, and peer count as a RANGE across every source — because four sources on this node disagree at the same instant. Publishes NO peer IP, peer id or relay attribution. Read live, no model, free when the chain cannot be read.","url":"https://animica.dev/x402/chain/health","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"max_sync_lag_blocks":{"type":"integer","description":"how many blocks of headers-ahead-of-blocks you are willing to tolerate (default 3). The response carries an explicit healthy true/false against YOUR threshold rather than leaving you to pick one from raw numbers."}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002161","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.002161/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002161","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002161","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qW8LeC-cDiIUMN7wPQs-L","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002161","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time health status of the Animica L1 blockchain node, including sync lag, block height, difficulty, hashrate, mempool depth, and peer count across multiple sources.","exampleAgentPrompt":"Is the Animica L1 chain healthy enough to transact on right now? I'm okay with up to 5 blocks of sync lag.","exampleUseCases":[{"title":"Pre-transaction chain readiness check","prompt":"Before I send this ANM payment, check if the Animica L1 node is healthy and in sync — I can tolerate at most 3 blocks of lag between headers and blocks."},{"title":"Automated node monitoring alert","prompt":"Poll the Animica chain health every few minutes and alert me if sync lag exceeds 10 blocks or if the mempool gets unusually deep."},{"title":"Mining profitability pre-check","prompt":"Check the current Animica L1 network hashrate, difficulty, and PoIES theta before I calculate my mining P&L — I need to make sure the node is live and reporting fresh data."}],"resultDescription":"Returns a JSON object with: head block height and hash, sync lag in blocks vs headers, current difficulty and PoIES theta value, measured network hashrate with its estimation window and estimator name, mempool transaction depth, and peer count expressed as a range across all queried sources. Also includes an explicit healthy true/false field evaluated against the caller's max_sync_lag_blocks threshold. Returns free when the chain cannot be read.","failureModes":["Chain unreachable — returns free response indicating chain cannot be read","Sync lag exceeds caller threshold — healthy field returns false","Multiple sources disagree on peer count — range is returned rather than single value","Invalid max_sync_lag_blocks value — defaults to 3 blocks","Node temporarily offline — empty or error response"],"whenToPreferThis":"Choose this endpoint when you need to verify Animica L1 node liveness and sync status before submitting transactions, executing payments, or running mining calculations on the Animica blockchain. It is the canonical pre-flight check for any Animica L1 operation and is free when the chain is unreadable, making it safe to call speculatively.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:45:28.593Z","isFirstParty":false}