# Saylor Innovations Gas Preflight

> Saylor Innovations Gas Preflight is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-19).

Returns real-time EVM gas conditions including base fee, trend, congestion, priority tips, suggested max fee, and USD cost estimates for common transaction types across 7 chains.

## Facts

- Endpoint: GET https://saylorinnovations.com/api/gas/preflight?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-gas-preflight-217e4327
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iPs1LLU9XGv9edU1ZKALl

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-preflight-217e4327
```

Example prompt: What are the current gas conditions on Arbitrum — give me the base fee, congestion level, and how much a token swap would cost in USD right now?

## When to prefer this

Use this endpoint when an agent needs real-time EVM gas data across multiple chains before submitting a transaction, estimating costs, or deciding which chain to use. It is particularly valuable for DeFi workflows (swaps, approvals, mints) where USD cost awareness matters. Prefer this over generic RPC calls when you need pre-computed congestion labels, trend signals, and cost breakdowns for common transaction types in a single call.

## Known failure modes

- Unsupported chain name returns an error or empty response
- Stale block data if upstream RPC is lagging (block_age_seconds will be high)
- Native price USD may be null if price feed is unavailable
- No historical data returned — only point-in-time snapshot
- Network outages on specific chains may cause partial or missing fields

## How this service works

Gas conditions for 7 EVM chains: base fee, trend, congestion, priority tips, suggested max fee and USD cost of a transfer, approval, swap and mint.

## Output

A JSON object containing: chain identifier, native symbol, latest block number, block age in seconds, base fee in gwei, base fee trend, congestion label, priority fee recommendations (gwei), suggested max fee (gwei), USD cost estimates for transfer/approval/swap/mint operations, native token USD price, gas used ratio, data source, and any L2-specific notes.

## 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": {
      "chain": {
       "type": "string",
       "description": "optional: ethereum, base (default), arbitrum, optimism, polygon, bsc or avalanche"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "chain",
      "native_symbol",
      "block_number",
      "base_fee_gwei",
      "congestion",
      "priority_fee_gwei",
      "suggested_max_fee_gwei",
      "cost_estimates",
      "note",
      "source"
     ],
     "properties": {
      "note": {
       "type": "string",
       "description": "Caveat or context for reading the result"
      },
      "chain": {
       "type": "string",
       "description": "Blockchain the data is for"
      },
      "source": {
       "type": "string",
       "description": "Data source the values come from"
      },
      "l2_note": {
       "type": [
        "string",
        "null"
       ],
       "description": "L2 note"
      },
      "checked_at": {
       "type": "string",
       "description": "Time the check was run (UTC)"
      },
      "congestion": {
       "type": "string"
      },
      "block_number": {
       "type": "number",
       "description": "Block number"
      },
      "base_fee_gwei": {
       "type": "number",
       "description": "Base fee per gas in gwei"
      },
      "native_symbol": {
       "type": "string",
       "description": "Native symbol"
      },
      "base_fee_trend": {
       "type": "string",
       "description": "Base fee trend"
      },
      "cost_estimates": {
       "type": "object",
       "properties": {
        "dex_swap": {
         "type": [
          "object"
         ],
         "properties": {
          "fast": {
           "type": [
            "object"
           ],
           "properties": {
            "usd": {
             "type": [
              "number"
             ]
            },
            "
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-gas-preflight-217e4327/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)
