# AmanChain EVM Gas Price Oracle

> AmanChain EVM Gas Price Oracle is a paid API for AI agents from preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.space-z.ai, paid per call via x402, $0.001244/call, status unknown (last checked 2026-09-15).

Returns live gas prices on Base and Ethereum networks in both gwei and USD, paid per call via x402/USDC.

## Facts

- Endpoint: POST https://preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.space-z.ai/api/x402/aman-gas-price
- Price: $0.001244/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/amanchain-evm-gas-price-oracle-1a121d56
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TkSrAucYAlsB60PbKli79

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 amanchain-evm-gas-price-oracle-1a121d56 -d '<json body>'
```

Example prompt: What's the current gas price on Ethereum and Base right now — give me both the gwei value and the USD cost?

## When to prefer this

Choose this endpoint when you need real-time gas prices for both Base and Ethereum in a single call without requiring an API key or account setup, paying only $0.001244 USDC per call via x402. Prefer this over free gas APIs when you need trustless, node-executed results settled on-chain, or when building autonomous agents that can pay per call in USDC.

## Known failure modes

- Payment failure if x402 USDC payment on Base is not settled — returns 402 Payment Required
- Invalid or missing serviceId field returns an error response
- Network connectivity issues to AmanChain node may cause timeouts
- If the node is syncing or behind, gas price may be stale

## How this service works

EVM Gas Price: live gas price on Base and Ethereum in gwei + USD Executed deterministically by the AmanChain node against live consensus state (real blocks, pools, balances) — paid per call via x402, settled in USDC on Base. Input: JSON body {"serviceId":"aman-gas-price","request":"<input>"}. No account, no API key.

## Output

Returns live gas price data for Base and Ethereum networks, including current gas price expressed in gwei and its USD equivalent, sourced from live consensus state via the AmanChain node.

## 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",
     "properties": {
      "request": {
       "type": "string",
       "description": "service input (see body example)"
      },
      "serviceId": {
       "type": "string",
       "description": "the service id, \"aman-gas-price\""
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/amanchain-evm-gas-price-oracle-1a121d56/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.space-z.ai](https://www.zero.xyz/host/preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.space-z.ai/llms.txt)
