# AmanChain Fee & Gas Tracker

> AmanChain Fee & Gas Tracker is a paid API for AI agents from amanchain-relay.gitajhd.workers.dev, paid per call via x402, $0.003732/call, status unknown (last checked 2026-09-14).

Fetches live blockchain fee and gas price data from on-chain consensus state via the AmanChain node, paid per call in USDC.

## Facts

- Endpoint: POST https://amanchain-relay.gitajhd.workers.dev/api/x402/aman-gas-tracker
- Price: $0.003732/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/amanchain-fee-gas-tracker-a076baa3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RThDdQPiYHEVjIS-a3-Mz

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-fee-gas-tracker-a076baa3 -d '<json body>'
```

Example prompt: What are the current gas prices and transaction fees on-chain right now? I want to know if it's a good time to send a transaction.

## When to prefer this

Choose this endpoint when you need real-time, node-verified gas and fee data settled via x402 micropayments in USDC with no API key or account required. Prefer it over centralized gas APIs when trustless, on-chain sourced fee data is important.

## Known failure modes

- Invalid or malformed request string returns an error response
- Payment failure via x402 protocol prevents call execution
- Node unavailability may cause timeout or service errors
- Incorrect serviceId value causes routing failure

## How this service works

Gas tracker and mempool monitor — average fee over the last 20 blocks, burn rate and live network congestion level. Deterministic on-chain execution by the AmanChain node — live consensus state, real blocks, pools and balances. Pay per call via x402 (USDC on Base), no account, no API key. POST JSON {"serviceId":"aman-gas-tracker","request":"<input>"}.

## Output

Returns live gas price data and transaction fee estimates sourced directly from the AmanChain node's view of the current blockchain consensus state, including base fees, priority fees, and network congestion indicators.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "example": {
      "ok": true
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/amanchain-fee-gas-tracker-a076baa3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from amanchain-relay.gitajhd.workers.dev](https://www.zero.xyz/host/amanchain-relay.gitajhd.workers.dev/llms.txt)
