# Multi-Chain Gas Oracle – Block Number

> Multi-Chain Gas Oracle – Block Number is a paid API for AI agents from gas-optical-production-30aa.up.railway.app, paid per call via x402, $0.0001/call, status unknown (last checked 2026-10-16).

Returns the current Ethereum block number along with a timestamp, paid via x402 micropayment on Base mainnet.

## Facts

- Endpoint: GET https://gas-optical-production-30aa.up.railway.app/block-number?utm_source=zero.xyz
- Price: $0.0001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/multi-chain-gas-oracle-block-number-c1622274
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XDDDK28g4nbmDc_aOJPIA

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 multi-chain-gas-oracle-block-number-c1622274
```

Example prompt: What is the current Ethereum block number right now? I need it to check transaction finality.

## When to prefer this

Use this endpoint when you need a live, real-time Ethereum block number with minimal latency and are willing to pay a $0.0001 USDC micropayment per call. Prefer this over free public RPC endpoints when you need reliable uptime and the x402 payment model fits your workflow. It is ideal for agents that need block numbers for timing, finality checks, or on-chain event correlation.

## Known failure modes

- Payment not included or invalid x402 payment header — returns 402 Payment Required
- Upstream node unavailable — returns 503 or timeout
- Network congestion causing stale block data
- Invalid or malformed request — returns 400

## How this service works

Live gas prices across Base, Ethereum, Arbitrum, and Optimism, plus ETH price, block number, gas prediction, and large Base whale transfers. Paid via x402 on Base mainnet.

## Output

A JSON object containing the current Ethereum block number (integer) and a Unix timestamp indicating when the data was retrieved.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "timestamp": 1710000000,
  "block_number": 12345678
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/multi-chain-gas-oracle-block-number-c1622274/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gas-optical-production-30aa.up.railway.app](https://www.zero.xyz/host/gas-optical-production-30aa.up.railway.app/llms.txt)
