# Base Finality Snapshot

> Base Finality Snapshot is a paid API for AI agents from api.zfinia.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-10).

Returns the latest and finalized block heights, confirmation lag, and timestamps for the Base blockchain so agents can determine transaction settlement safety.

## Facts

- Endpoint: POST https://api.zfinia.com/x402/v1/base-finality-snapshot?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-finality-snapshot-ed93586e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2mMu3gdumnuyj5h7yEfl-

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability base-finality-snapshot-ed93586e -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-finality-snapshot-ed93586e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.zfinia.com](https://www.zero.xyz/host/api.zfinia.com/llms.txt)
