# Avasis EVM Gas Ops — Ethereum + Base Gas Fee Oracle

> Avasis EVM Gas Ops — Ethereum + Base Gas Fee Oracle is a paid API for AI agents from agents.avasis.ai, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-31).

Returns a unified gas fee kit for Ethereum and Base in one call: EIP-1559 fee tiers, USD cost estimates for common transactions, next-block base fee forecast, congestion level, and a recommended chain/tier pick.

## Facts

- Endpoint: GET https://agents.avasis.ai/v1/evm/gas-ops?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/avasis-evm-gas-ops-ethereum-base-gas-fee-oracle-668fe20b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5bv7DpTJMTgZwl_s4yulM

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 avasis-evm-gas-ops-ethereum-base-gas-fee-oracle-668fe20b
```

Example prompt: What are the current gas fees on Ethereum and Base right now? I want to know all four speed tiers, the next-block base fee, how congested the network is, and how much a swap (gas limit 180000) would cost in USD — and which chain you'd recommend I use.

## When to prefer this

Choose this endpoint when an agent needs a comprehensive, multi-chain EVM gas snapshot in a single call rather than querying separate RPC endpoints or gas APIs. It is especially useful when the agent must decide between Base and Ethereum mainnet for cost efficiency, needs USD-denominated cost estimates for specific transaction types, or needs all EIP-1559 tiers at once. At $0.05 per call it is cost-effective for autonomous agents executing or preparing transactions.

## Known failure modes

- 503 returned when upstream (node provider) is unavailable — caller is never charged in this case
- Invalid gas_limit outside allowed range (21000–30000000) results in a validation error
- Network timeouts if underlying EVM RPC nodes are slow or degraded
- Missing or stale Chainlink ETH/USD price may affect USD cost accuracy

## How this service works

Ethereum gas + Base gas in one call (evm gas ops, $0.05) for agents that send transactions. Per chain: base fee, priority fee, four EIP-1559 fee tiers (slow/standard/fast/urgent: maxFeePerGas + maxPriorityFeePerGas), next-block base-fee estimate + congestion, ETH + USD cost of a transfer / ERC-20 transfer / approve / swap and of your gas_limit (Chainlink ETH/USD), Base-vs-Ethereum comparison, a pick with its reason. Free live sample /v1/evm/gas-ops/sample. Upstream down 503, never charged.

## Output

A JSON object containing per-chain data for both Ethereum and Base: current base fee, priority fee, four EIP-1559 tiers (slow/standard/fast/urgent) each with maxFeePerGas and maxPriorityFeePerGas, next-block base fee estimate, congestion level, USD and ETH costs for ETH transfer / ERC-20 transfer / approve / swap and for the caller's custom gas_limit, a Base-vs-Ethereum comparison, a recommended chain+tier with a stated reason, current ETH/USD price from Chainlink, and a headline summary string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "gas_limit": {
       "type": "integer",
       "maximum": 30000000,
       "minimum": 21000,
       "description": "gas units of YOUR transaction (default 21000 = ETH transfer; ~65000 ERC-20 transfer, ~180000 swap): priced per tier in ETH and USD under costs.your_tx"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "kit",
      "headline",
      "ethereum",
      "base",
      "eth_usd"
     ],
     "properties": {
      "kit": {
       "type": "string"
      },
      "base": {
       "type": "object"
      },
      "solana": {
       "type": "object"
      },
      "compare": {
       "type": "object"
      },
      "eth_usd": {
       "type": "object"
      },
      "sources": {
       "type": "array"
      },
      "ethereum": {
       "type": "object"
      },
      "headline": {
       "type": "string"
      },
      "gas_limit": {
       "type": "integer"
      },
      "how_to_use": {
       "type": "array"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "kit": "evm-gas-ops-1",
  "base": {
   "seq": 2411,
   "gwei": {
    "baseFee": 0.0021,
    "gasPrice": 0.0031,
    "maxPriorityFee": 0.001,
    "suggestedMaxFee": 0.0052
   },
   "pick": {
    "tier": "standard"
   },
   "ageMs": 380,
   "block": {
    "number": 37400000,
    "timestamp": 1761739199,
    "ageSeconds": 1,
    "gasUsedPct": 14.2
   },
   "chain": "base",
   "costs": {
    "ops": [
     {
      "op": "eth_transfer",
      "gas": 21000,
      "expected": {
       "eth": 6.51e-8,
       "usd": 0.000167991
      }
     }
    ],
    "note": "(+ erc20_transfer, erc20_approve, dex_swap, max_authorized, wei in the paid body)",
    "your_tx": {
     "gas": 21000,
     "expected": {
      "eth": 6.51e-8,
      "usd": 0.000167991
     }
    },
    "per_gas_now": {
     "gwei": 0.0031
    }
   },
   "stale": false,
   "tiers": [
    {
     "tier": "slow",
     "maxFeePerGas": {
      "gwei": 0.002863
     },
     "maxPriorityFeePerGas": {
      "gwei": 0.0005
     }
    },
    {
     "tier": "standard",
     "maxFeePerGas": {
      "gwei": 0.0052
     },
     "maxPriorityFeePerGas": {
      "gwei": 0.001
     }
    },
    {
     "tier": "fast",
     "maxFeePerGas": {
      "gwei": 0.0057
     },
     "maxPriorityFeePerGas": {
      "gwei": 0.0015
     }
    },
    {
     "tier": "urgent",
     "maxFeePerGas": {
      "gwei": 0.0083
     },
     "maxPriorityFeePerGas": {
      "gwei": 0.002
     }
    }
   ],
   "chainId": 8453,
   "priority": {
    "gwei": 0.001,
    "basis": "node eth_maxPriorityFeePerGas"
   },
   "available": true,
   "next_block": {
    "label": "balanced",
    "eip1559": {
     "elasticity": 6,
     "denominator": 250,
     "max_change_pct": 0.4
    },
    "vs_target": 0.852,
    "change_pct": -0.0592,
    "base_fee_direction": "falling",
    "next_base_fee_estimate": {
     "gwei": 0.002099
    }
   },
   "observedAt": "2026-10-29T12:00:00.000Z"
  },
  "solana": {
   "slot": {
    "available": true,
    "slotProcessed": 462900001
   },
   "sol_usd": {
    "price": 100.08,
    "available": true
   },
   "priority_fee": {
    "available": true,
    "suggested": {
     "low": 1000,
     "high": 50000,
     "medium": 10000,
     "veryHigh": 200000
    }
   }
  },
  "compare": {
   "cheaper": "base",
   "gas_limit": 21000,
   "ethereum_over_base": 454.8
  },
  "eth_usd": {
   "price": 2580.5,
   "source": "chainlink ETH/USD aggregator on Base (latestRoundData)",
   "available": true
  },
  "sources":
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/avasis-evm-gas-ops-ethereum-base-gas-fee-oracle-668fe20b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.avasis.ai](https://www.zero.xyz/host/agents.avasis.ai/llms.txt)
