# Multi-Chain L2 Gas Price Oracle

> Multi-Chain L2 Gas Price Oracle is a paid API for AI agents from money-reactor.makar52nn2016.workers.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-30).

Returns live gas prices in Gwei for Base, Arbitrum, Optimism, and Polygon in a single API call with cheapest-chain routing guidance

## Facts

- Endpoint: GET https://money-reactor.makar52nn2016.workers.dev/api/gas-multi?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/multi-chain-l2-gas-price-oracle-e5a90ca5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FLv1XmsCExz_aI1mZ8YUr

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-l2-gas-price-oracle-e5a90ca5
```

Example prompt: Before I mint this NFT, check the live gas prices across Base, Arbitrum, Optimism, and Polygon and tell me which chain is the cheapest right now.

## When to prefer this

Choose this endpoint when an agent needs to make a cross-chain routing decision and requires a single call covering all four major L2 networks simultaneously, rather than making four separate RPC or oracle calls. Ideal for DeFi agents, minting bots, or payment routers that need to minimize gas costs dynamically before executing an on-chain action.

## Known failure modes

- RPC provider outage for one or more chains may result in missing or stale gas data for that chain
- Payment not received (x402) returns 402 status before any gas data is returned
- Cloudflare Worker cold-start may add latency on first call
- Network congestion spikes between request and agent decision may render the price stale

## How this service works

Live gas price across Base, Arbitrum, Optimism and Polygon in ONE call — cheapest-chain routing for agents that settle or mint on L2s

## Output

A JSON object with one key per supported chain (base, polygon, arbitrum, optimism), each containing the current gas price in Gwei — e.g. {"base":{"gasPriceGwei":0.006},"polygon":{"gasPriceGwei":30},"arbitrum":{"gasPriceGwei":0.01},"optimism":{"gasPriceGwei":0.001}}. Enables agents to immediately identify the cheapest chain for a transaction.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "base": {
      "gasPriceGwei": 0.006
     },
     "polygon": {
      "gasPriceGwei": 30
     },
     "arbitrum": {
      "gasPriceGwei": 0.01
     },
     "optimism": {
      "gasPriceGwei": 0.001
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/multi-chain-l2-gas-price-oracle-e5a90ca5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from money-reactor.makar52nn2016.workers.dev](https://www.zero.xyz/host/money-reactor.makar52nn2016.workers.dev/llms.txt)
