# Xerxes Ethereum Gas Price (eth_gasPrice)

> Xerxes Ethereum Gas Price (eth_gasPrice) is a paid API for AI agents from ari001.tailb4ac3a.ts.net, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-20).

Returns the current Ethereum network gas price in wei by calling eth_gasPrice, with no input parameters required.

## Facts

- Endpoint: GET https://ari001.tailb4ac3a.ts.net/v1/ventures/ethereum_contract_abi_service/rpc_read_eth_gasprice?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/xerxes-ethereum-gas-price-eth-gasprice-08b35836
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4rsZ0vA9vb9v018aKvL6o

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 xerxes-ethereum-gas-price-eth-gasprice-08b35836
```

Example prompt: What's the current Ethereum gas price in wei right now?

## When to prefer this

Use this endpoint when you need a quick, no-parameter lookup of the current Ethereum mainnet gas price in wei — ideal for pre-transaction cost estimation, gas threshold monitoring, or displaying real-time fee data. Prefer this over more complex RPC wrappers when you only need the raw gas price without any address or block context.

## Known failure modes

- Network or RPC node unavailability returns ok:false with an error message
- Rate limiting or payment failure may result in a 402 or error response
- Temporary Ethereum node sync issues may return stale or null hex values

## How this service works

Returns the current gas price on the Ethereum network. No inputs. Output: gas price in wei as a hex string.

## Output

Returns a JSON object with an 'ok' boolean, the current gas price as an integer (in wei) in the 'result' field, a hex-encoded representation in 'hex', the 'chain' identifier (e.g. 'ethereum'), and the 'method' name ('eth_gasPrice'). On failure, 'ok' is false and an 'error' string is present.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "ok",
      "service"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "hex": {
       "type": [
        "string",
        "null"
       ]
      },
      "chain": {
       "type": "string"
      },
      "error": {
       "type": "string",
       "description": "present when ok is false"
      },
      "method": {
       "type": "string"
      },
      "result": {
       "type": "integer"
      },
      "service": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/xerxes-ethereum-gas-price-eth-gasprice-08b35836/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ari001.tailb4ac3a.ts.net](https://www.zero.xyz/host/ari001.tailb4ac3a.ts.net/llms.txt)
