# Gas Now – Current Gas Price & Latest Block

> Gas Now – Current Gas Price & Latest Block is a paid API for AI agents from wafermap.xyz, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-31).

Returns the current gas price and latest block number for Robinhood Chain or Base network.

## Facts

- Endpoint: POST https://wafermap.xyz/v1/gas-now?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gas-now-current-gas-price-latest-block-4f5f5224
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_C8MO2UHS1i2RGpYbt_KH9

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 gas-now-current-gas-price-latest-block-4f5f5224 -d '<json body>'
```

Example prompt: What's the current gas price and latest block on Base right now?

## When to prefer this

Use this endpoint when you need a fast, real-time lookup of gas prices or the latest block for Robinhood Chain or Base. Prefer this over general block explorer APIs when you want a lightweight, pay-per-call approach without API key management, especially inside automated agents or DeFi workflows.

## Known failure modes

- Invalid or unsupported network value returns a validation error
- Network RPC unavailability may cause timeout or 503
- Missing required network field may fall back to default (robinhood) or return an error
- Stale data if upstream node is lagging behind chain head

## How this service works

Gas Now — Current gas price and latest block on Robinhood Chain or Base.

## Output

Returns the current gas price (in gwei or native units) and the latest block number for the selected network (Robinhood Chain or Base), allowing agents to estimate transaction costs and assess network state in real time.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "network": {
   "enum": [
    "robinhood",
    "base"
   ],
   "type": "string",
   "description": "robinhood (default) or base."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gas-now-current-gas-price-latest-block-4f5f5224/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from wafermap.xyz](https://www.zero.xyz/host/wafermap.xyz/llms.txt)
