# Avasis Ethereum Mainnet Gas Tip

> Avasis Ethereum Mainnet Gas Tip is a paid API for AI agents from premium.35-171-220-195.sslip.io, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-24).

Returns the latest Ethereum mainnet gas fee data (block number, base fee, priority fee, and suggested maxFeePerGas) from a batched RPC call, refreshed every 4 seconds, with optional long-polling.

## Facts

- Endpoint: GET https://premium.35-171-220-195.sslip.io/v1/tip/eth-gas?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/avasis-ethereum-mainnet-gas-tip-b8bc924e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9uoCTQ8am5JW08sdVzfe8

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-ethereum-mainnet-gas-tip-b8bc924e
```

Example prompt: What are the current Ethereum mainnet gas fees — give me the base fee, priority fee, and a safe maxFeePerGas I should use for my transaction right now?

## When to prefer this

Use this endpoint when an AI agent needs real-time Ethereum mainnet gas fee data to construct or price transactions, especially when you want a single batched call that includes block number, base fee, priority fee, and a pre-computed maxFeePerGas suggestion. Prefer this over raw RPC calls when you want a simple REST interface with long-polling support and a prepaid metered billing model via x402.

## Known failure modes

- Payment required (402) if no prepaid meter token is provided
- Long-poll timeout if no new data arrives within the requested wait window
- Stale data if upstream Ethereum RPC is lagging
- Invalid query parameters (wait > 25 or since < 0) result in validation errors
- Network errors connecting to the sslip.io hosted endpoint

## How this service works

Ethereum mainnet gas tip for agents that send transactions: latest block number and age, base fee, eth_gasPrice, eth_maxPriorityFeePerGas and a suggested maxFeePerGas (2x base fee + priority), from one batched RPC call every 4 s. Long-poll with ?since=<seq>&wait=25. Prepaid meter price $0.0002/call (packs at /v1/meter); SSE at /v1/stream/tips.

## Output

A JSON object containing a topic label, a monotonically increasing sequence number, an observedAt timestamp, and a data object with: latest block number, block age in seconds, current base fee in wei, eth_gasPrice, eth_maxPriorityFeePerGas, and a suggested maxFeePerGas (calculated as 2× base fee + priority fee).

## 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": {
      "wait": {
       "type": "integer",
       "maximum": 25,
       "minimum": 0,
       "description": "long-poll: seconds to wait for a newer value (0..25); with a prepaid token an unchanged answer is free"
      },
      "since": {
       "type": "integer",
       "minimum": 0,
       "description": "long-poll: the seq you already have; answers as soon as a newer value exists"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "topic",
      "seq",
      "data"
     ],
     "properties": {
      "seq": {
       "type": "integer"
      },
      "data": {
       "type": "object"
      },
      "topic": {
       "type": "string"
      },
      "observedAt": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/avasis-ethereum-mainnet-gas-tip-b8bc924e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from premium.35-171-220-195.sslip.io](https://www.zero.xyz/host/premium.35-171-220-195.sslip.io/llms.txt)
