# Multi-Chain Gas Oracle & Gas Prediction

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

Returns live gas prices across Base, Ethereum, Arbitrum, and Optimism, plus ETH price, current block number, 1-hour gas prediction, and large Base whale transfers

## Facts

- Endpoint: GET https://gas-optical-production-30aa.up.railway.app/gas-predict?utm_source=zero.xyz
- Price: $0.0005/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-gas-prediction-e79c922e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IUkRivLaZXo03bMuO4oI3

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-gas-prediction-e79c922e
```

Example prompt: What are the current gas prices on Base, Ethereum, Arbitrum, and Optimism right now, and is gas trending up or down over the next hour?

## When to prefer this

Choose this endpoint when you need real-time gas prices across multiple EVM chains simultaneously (Base, Ethereum, Arbitrum, Optimism) in a single call, especially when you also want forward-looking gas predictions with a confidence score. It is the right choice when tracking whale activity on Base alongside gas data matters. Prefer it over single-chain oracles when cross-chain comparison or the 1-hour forecast is required.

## Known failure modes

- Payment not received or x402 authorization invalid — endpoint returns 402 Payment Required
- Upstream RPC node unavailable for one or more chains — partial or stale data returned
- Gas prediction model returns low confidence score (below 0.5) if market is volatile
- Rate limit exceeded if too many calls are made in quick succession
- Network timeout if railway.app hosting is under load

## 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

Returns a JSON object with the current gas price in gwei, a 1-hour predicted gas price in gwei, a trend direction (e.g. 'up' or 'down'), a confidence score (0–1) for the prediction, current ETH price, current block number, a timestamp, and details of large whale transfers on Base mainnet.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "trend": "up",
  "timestamp": 1710000000,
  "confidence": 0.62,
  "current_gwei": 12.4,
  "predicted_gwei_1h": 14.1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/multi-chain-gas-oracle-gas-prediction-e79c922e/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)
