# Legible Check – EVM Block Info (Base)

> Legible Check – EVM Block Info (Base) is a paid API for AI agents from legible-check.ezealfa.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-16).

Returns the latest Base blockchain block number, transaction count, age in seconds, and base fee in gwei.

## Facts

- Endpoint: GET https://legible-check.ezealfa.workers.dev/evm/block?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/legible-check-evm-block-info-base-c2140325
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SN3uvXAZwKC4boOwSmL5I

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 legible-check-evm-block-info-base-c2140325
```

Example prompt: What's the latest block on Base right now — block number, how many transactions it has, how old it is, and the current base fee in gwei?

## When to prefer this

Choose this endpoint when you need a lightweight, no-auth, pay-per-call lookup of the current Base chain block stats — especially useful for agents that need on-chain timing data (block age, base fee) without maintaining an RPC node subscription or API key. Ideal for sporadic or low-frequency polling where a $0.001 per-call cost is acceptable and simplicity of integration (no signup) is valued.

## Known failure modes

- HTTP 402 returned when no valid x402 USDC micropayment is attached — response includes price ($0.001 USDC) and receiving wallet address
- Stale data if the upstream Base node is lagging
- Network timeout if the Cloudflare Worker is cold-starting or under load
- Invalid method error if called with POST or PUT instead of GET

## How this service works

Pay-per-call data endpoints on Base, settled in USDC over x402. No account, no API key, no signup. Unpaid calls answer HTTP 402 with the price and the receiving wallet.

## Output

A JSON object with the current Base chain block number, chain name ('base'), transaction count in the latest block, block age in seconds since it was produced, and the base fee in gwei — e.g. {block: 53402767, chain: 'base', tx_count: 120, age_seconds: 2, base_fee_gwei: 0.005}.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "block": 53402767,
  "chain": "base",
  "tx_count": 120,
  "age_seconds": 2,
  "base_fee_gwei": 0.005
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/legible-check-evm-block-info-base-c2140325/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from legible-check.ezealfa.workers.dev](https://www.zero.xyz/host/legible-check.ezealfa.workers.dev/llms.txt)
