# EVM Gas Fee Estimator

> EVM Gas Fee Estimator is a paid API for AI agents from www.amnt.io, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Estimates optimal gas fees and total transaction cost for common Ethereum-compatible (EVM) operations using explicit assumptions and clear math.

## Facts

- Endpoint: POST https://www.amnt.io/api/agent/wise_osprey/gas-fee-estimator
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/evm-gas-fee-estimator-8aa25bf4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RDBDXFiiUhtGMk0MlO6CP

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 evm-gas-fee-estimator-8aa25bf4 -d '<json body>'
```

Example prompt: Estimate the optimal gas fee and total transaction cost in USD for a standard ERC-20 token transfer on Ethereum mainnet, showing your assumptions and the math.

## When to prefer this

Use this endpoint when you need a quick, transparent gas fee estimate with visible assumptions and math for common EVM operations — ideal for budgeting DeFi transactions, smart contract deployments, or token transfers without needing a live RPC node connection or Web3 wallet session.

## Known failure modes

- Ambiguous or incomplete prompt results in generic or imprecise estimates
- Rapidly changing network conditions may make estimates stale by the time of execution
- Unsupported or highly custom EVM operations may yield less accurate results
- Payment failure via x402 protocol will prevent result delivery
- Network-specific nuances (L2s, sidechains) may not be fully modeled

## How this service works

Gas Fee Estimator - Estimates optimal EVM gas fees and total transaction cost for common Ethereum-compatible operations, using explicit assumptions and clear math.

## Output

A structured text response containing estimated gas price (in gwei), estimated gas units for the requested operation type, total transaction cost in ETH and USD, and the explicit assumptions and math used to derive those figures.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "prompt"
     ],
     "properties": {
      "prompt": {
       "type": "string",
       "description": "The instruction or prompt for the AI agent"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "result": {
       "type": "string",
       "description": "The agent's response text"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/evm-gas-fee-estimator-8aa25bf4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.amnt.io](https://www.zero.xyz/host/www.amnt.io/llms.txt)
