# Saylor Innovations EVM Block Lookup — Optimism (Latest Block)

> Saylor Innovations EVM Block Lookup — Optimism (Latest Block) is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-03).

Fetches on-chain data for the latest block on the Optimism EVM network, including block number, hash, timestamp, gas metrics, miner, and transaction count.

## Facts

- Endpoint: GET https://saylorinnovations.com/api/evm/optimism/block/latest?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-evm-block-lookup-optimism-latest-block-fc7c77ab
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Z6rN0ftsUealcwM4Xy7tl

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 saylor-innovations-evm-block-lookup-optimism-latest-block-fc7c77ab
```

Example prompt: What does the latest block on the Optimism network look like right now — give me the block number, hash, gas used, base fee, and how many transactions are in it.

## When to prefer this

Choose this endpoint when you need real-time, current Optimism block data including gas metrics and transaction count without running your own Optimism node. It is ideal for lightweight agents that need a pay-per-call model (x402 micropayment) rather than managing API keys or subscriptions. Prefer this over generic EVM RPC endpoints when you want a clean JSON abstraction instead of raw RPC responses.

## Known failure modes

- Network or RPC node unavailable — may return 5xx or timeout
- Payment failure (x402) — request rejected if USDC micropayment not included or insufficient
- Null numeric fields if the node is syncing or data is temporarily unavailable
- Rate limiting if request volume exceeds provider thresholds

## How this service works

EVM Block (optimism) — On-Chain Data

## Output

A JSON object containing the latest Optimism block's chain identifier, block number, block hash, miner address, timestamp (Unix and ISO string), gas used, gas limit, transaction count, and base fee in gwei. Some numeric fields may be null if not available.

## 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",
      "POST",
      "PUT",
      "PATCH",
      "DELETE",
      "HEAD"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "chain",
      "number",
      "hash"
     ],
     "properties": {
      "hash": {
       "type": "string"
      },
      "time": {
       "type": "string"
      },
      "chain": {
       "type": "string"
      },
      "miner": {
       "type": "string"
      },
      "number": {
       "type": [
        "number",
        "null"
       ]
      },
      "gas_used": {
       "type": [
        "number",
        "null"
       ]
      },
      "tx_count": {
       "type": [
        "number",
        "null"
       ]
      },
      "gas_limit": {
       "type": [
        "number",
        "null"
       ]
      },
      "timestamp": {
       "type": [
        "number",
        "null"
       ]
      },
      "base_fee_gwei": {
       "type": [
        "number",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-evm-block-lookup-optimism-latest-block-fc7c77ab/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
