# VerifyOracle — Base Mainnet Block Number Oracle

> VerifyOracle — Base Mainnet Block Number Oracle is a paid API for AI agents from penger-oracle.run402.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-27).

Returns the current block number and associated metadata (hash, timestamp, tx count) from Base Mainnet (chainId 8453) via direct RPC query.

## Facts

- Endpoint: GET https://penger-oracle.run402.com/api/block-number?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/verifyoracle-base-mainnet-block-number-oracle-e99a08ce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MEpeRMDxsAMgDy-UTvcWX

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 verifyoracle-base-mainnet-block-number-oracle-e99a08ce
```

Example prompt: What's the current block number on Base Mainnet right now — give me the block hash and timestamp too?

## When to prefer this

Choose this endpoint when you need a verifiably sourced, payment-gated current block number from Base Mainnet (chainId 8453) with accompanying metadata (hash, timestamp, tx count) rather than relying on a free or unauthenticated RPC. Ideal for agents needing cryptographically auditable on-chain state snapshots with provenance guarantees via x402.

## Known failure modes

- RPC node unavailability may return a 503 or timeout
- Payment verification failure (x402 payment not confirmed) returns 402
- Malformed or missing USDC payment header causes rejection
- Transient Base RPC latency may cause delayed or stale responses

## How this service works

Primary-source verifiable x402 API oracle on Base Mainnet USDC.

## Output

A JSON object containing: blockNumber (current Base Mainnet block height as integer), blockHash (0x-prefixed hash string), timestamp (Unix epoch of the block), txCount (transaction count in the block), chainId (8453), network ('base-mainnet'), and source ('base-mainnet-rpc').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "source": "base-mainnet-rpc",
  "chainId": 8453,
  "network": "base-mainnet",
  "txCount": 142,
  "blockHash": "0x...",
  "timestamp": 1761052500,
  "blockNumber": 25000000
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/verifyoracle-base-mainnet-block-number-oracle-e99a08ce/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from penger-oracle.run402.com](https://www.zero.xyz/host/penger-oracle.run402.com/llms.txt)
