{"uid":"cap_2mMu3gdumnuyj5h7yEfl-","slug":"base-finality-snapshot-ed93586e","name":"Base Finality Snapshot","description":"How settled is Base right now? Returns the latest and finalized block heights, how many confirmations the finalized head trails by, and both timestamps. Lets an agent decide whether a transaction is safe to treat as done, instead of guessing a confirmation count.","url":"https://api.zfinia.com/x402/v1/base-finality-snapshot?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{},"additionalProperties":false},"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":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kelC5S9NAO1WUdZoK5Fpk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the latest and finalized block heights, confirmation lag, and timestamps for the Base blockchain so agents can determine transaction settlement safety.","exampleAgentPrompt":"Check how settled Base is right now — give me the latest and finalized block heights, how many confirmations the finalized head is trailing by, and both their timestamps so I can decide if this transaction is safe to treat as done.","exampleUseCases":[{"title":"Safe withdrawal release gate","prompt":"Before I release this user's withdrawal, check the current Base finality snapshot — I need to know how many blocks behind the finalized head is and whether the latest block timestamp is recent enough to trust the chain is healthy."},{"title":"Post-trade settlement confirmation","prompt":"I just submitted a trade on Base — can you pull the finality snapshot to see what the current finalized block height is and compare it against the block my transaction landed in, so I know if it's truly settled?"},{"title":"Blockchain health monitoring alert","prompt":"Every few minutes, grab the Base finality snapshot and tell me if confirmations_behind ever exceeds 50 blocks, so I can alert my team that finalization is falling dangerously behind."}],"resultDescription":"Returns a JSON object containing: the chain name ('base') and chain ID (8453), the latest block number and hash, the finalized block number, how many confirmations behind the finalized head trails the latest block, Unix timestamps for both the latest and finalized blocks, a request ID, service ID and version, and the number of upstream RPC calls consumed.","failureModes":["RPC node unavailable or rate-limited — upstream RPC call count may indicate degraded response","Network congestion causing stale block data — timestamps may lag real time","Malformed or missing required input body — schema validation error returned","Payment failure via x402 protocol — 402 response with challenge details before data is returned"],"whenToPreferThis":"Choose this endpoint when your agent needs a precise, authoritative snapshot of Base blockchain finality state — particularly to gate actions (payments, withdrawals, state transitions) on confirmation safety rather than guessing a fixed confirmation count. It is preferable over generic RPC calls because it bundles latest block, finalized block, lag, and timestamps in a single paid call with no RPC node management required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:41:46.852Z","isFirstParty":false,"canonicalSlug":"base-finality-snapshot-ed93586e"}