# Base/EVM Gas Oracle

> Base/EVM Gas Oracle is a paid API for AI agents from build-4c941cab041172e9439ece2f.emblem.build, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns current Base/EVM gas fees including base fee, priority-fee percentiles (slow/avg/fast), and a next-block estimate for transaction cost planning.

## Facts

- Endpoint: POST https://build-4c941cab041172e9439ece2f.emblem.build/pub/tasks/x402-onchain/api/gas
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-evm-gas-oracle-d0a6b6e9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mR2dwR9lpmJnWVJ7IEVkV

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 base-evm-gas-oracle-d0a6b6e9 -d '<json body>'
```

Example prompt: What are the current gas fees on Base right now — give me the slow, average, and fast priority fee tiers plus the next-block estimate so I can decide how to price my transaction.

## When to prefer this

Choose this endpoint when you need real-time EVM gas fee data specifically for Base or compatible EVM chains, especially when you want structured percentile tiers (slow/avg/fast) plus a next-block projection in a single call. Prefer this over generic RPC calls when you want a clean, agent-ready JSON response without raw eth_gasPrice parsing, and when pay-per-call USDC pricing is acceptable for low-volume or on-demand use.

## Known failure modes

- RPC node unavailability causing inability to fetch current block data
- Network congestion causing stale or delayed fee estimates
- Malformed request body returning 400 error
- Payment failure (insufficient USDC or x402 payment not accepted) blocking API access
- Timeout if Base RPC is slow to respond

## How this service works

Base/EVM gas oracle: base fee + priority-fee percentiles (slow/avg/fast) + next-block estimate. Onchain pay-per-call in USDC.

## Output

Returns current network gas data including the base fee, priority-fee percentiles across slow/average/fast tiers, and a projected next-block gas estimate — all in gwei or wei units suitable for constructing EVM transactions.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-evm-gas-oracle-d0a6b6e9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from build-4c941cab041172e9439ece2f.emblem.build](https://www.zero.xyz/host/build-4c941cab041172e9439ece2f.emblem.build/llms.txt)
