Optimism block number
Latest block number and block details on Optimism, or any block by decimal number: hash, timestamp, transaction count, gas used and limit, base fee in gwei and producer. Use for timestamps and confirmation counts; for current fees use op_gas. A block that does not exist yet returns 422, uncharged.
Inputs
| Name | Type | Description |
|---|---|---|
number | string | Block number, or 'latest' (default) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://glyphcall.com/op/block?number=latest"
Or one of your 3 free calls, no key:
curl "https://glyphcall.com/op/block?number=latest&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Live result
The real answer to the request above, read 2026-11-15 18:49 UTC and refreshed every 15 minutes.
{
"chain": "Optimism",
"chainId": 10,
"number": 159584897,
"hash": "0x2f6e7b357d4e1fbfc37be7d6ab5304b871f856708e3791eb843ff54869faa5d9",
"timestamp": "2026-11-15T18:49:31.000Z",
"transactions": 35,
"gasUsed": "13485519",
"gasLimit": "40000000",
"baseFeeGwei": "0.000001374",
"miner": "0x4200000000000000000000000000000000000011"
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is op_block, and the first 25 successful calls are free:
https://glyphcall.com/mcp