# Aether Base Gas Estimator

> Aether Base Gas Estimator is a paid API for AI agents from aether-x402.vercel.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-12).

Estimates the gas cost (in gas units, ETH, and USD) for a given transaction on the Base blockchain network.

## Facts

- Endpoint: POST https://aether-x402.vercel.app/v1/base/estimate-gas?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aether-base-gas-estimator-9255f452
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OVbMFoEvnl0zc8NboyKJp

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 aether-base-gas-estimator-9255f452 -d '<json body>'
```

Example prompt: Can you estimate the gas cost for sending a transaction on Base from 0xAbC...123 to 0xDeF...456 with calldata 0xa9059cbb... and a value of 0 — I want to know the gas units, ETH cost, and what that works out to in USD before I commit to sending it.

## When to prefer this

Choose this endpoint when you need a quick, cheap ($0.002 USDC) gas estimate for a specific Base network transaction before committing to send it. It is especially useful for AI agents that need to budget transaction costs programmatically, validate that a transaction is feasible, or present cost previews to users in human-readable ETH and USD terms. Prefer it over generic Ethereum estimators when you are specifically targeting the Base L2 network.

## Known failure modes

- Invalid or malformed Ethereum address format returns a validation error
- Malformed or overly long calldata (>20000 chars) is rejected
- Transaction simulation reverts if the 'from' address has insufficient balance for the given value
- Network connectivity issues with Base RPC may return a 502 or timeout
- Payment not received (x402 protocol failure) results in 402 response before data is returned

## How this service works

Pay-per-call Base onchain data, token risk verdicts and x402 payability audits over x402 (USDC on Base).

## Output

Returns a JSON object with the estimated gas units required ('gas'), the cost in ETH ('costEth'), and the equivalent cost in USD ('costUsd') for the specified transaction on Base.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{40}$"
  },
  "data": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]*$",
   "maxLength": 20000
  },
  "from": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{40}$"
  },
  "value": {
   "type": [
    "string",
    "integer"
   ],
   "pattern": "^[0-9]+$"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "gas": "21000",
  "costEth": "0.0000002",
  "costUsd": 0.0005
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aether-base-gas-estimator-9255f452/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aether-x402.vercel.app](https://www.zero.xyz/host/aether-x402.vercel.app/llms.txt)
