# Saylor Innovations Gas Estimate (Ethereum)

> Saylor Innovations Gas Estimate (Ethereum) is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-03).

Estimates gas usage and fee cost for a transaction on the Ethereum mainnet, returning gas units, gas price in gwei, and estimated native fee.

## Facts

- Endpoint: GET https://saylorinnovations.com/api/evm/ethereum/estimate-gas?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-gas-estimate-ethereum-5da37877
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5aVMzHnoeuqkc8Pu9INzw

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 saylor-innovations-gas-estimate-ethereum-5da37877
```

Example prompt: What's the estimated gas and ETH fee for calling the Ethereum contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 with calldata 0xa9059cbb000000000000000000000000abc...?

## When to prefer this

Use this endpoint when you need a quick, paid on-chain gas estimate for Ethereum mainnet specifically — particularly when you want both the gas unit count and the current gwei price together with the native ETH fee in a single call, and when you also want to know upfront whether the transaction would revert before executing it.

## Known failure modes

- Invalid or non-existent 'to' address returns an error message with reverted=true
- Malformed calldata causes simulation failure with error detail
- Transaction that would revert on-chain returns reverted=true and gas=null
- Network congestion or RPC unavailability may result in timeout or null gas values
- Missing required 'to' parameter returns a validation error

## How this service works

Gas Estimate (ethereum) — On-Chain Data

## Output

Returns a JSON object with the chain name ('ethereum'), estimated gas units as a number (or null if failed), current gas price in gwei, estimated transaction fee in native ETH, a boolean indicating if the transaction would revert, and an error string if applicable.

## 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",
      "POST",
      "PUT",
      "PATCH",
      "DELETE",
      "HEAD"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "to": {
       "type": "string",
       "description": "0x target (query)"
      },
      "data": {
       "type": "string",
       "description": "optional 0x calldata (query)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "chain",
      "reverted"
     ],
     "properties": {
      "gas": {
       "type": [
        "number",
        "null"
       ]
      },
      "chain": {
       "type": "string"
      },
      "error": {
       "type": [
        "string",
        "null"
       ]
      },
      "native": {
       "type": "string"
      },
      "reverted": {
       "type": "boolean"
      },
      "est_fee_native": {
       "type": [
        "string",
        "null"
       ]
      },
      "gas_price_gwei": {
       "type": [
        "number",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-gas-estimate-ethereum-5da37877/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
