# ChainRay Gas Tracker

> ChainRay Gas Tracker is a paid API for AI agents from chainray.online, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns real-time gas price estimates (slow, standard, fast in gwei), base fee, gas trend, and block-level utilization history for a specified EVM-compatible blockchain.

## Facts

- Endpoint: GET https://chainray.online/gas-tracker
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainray-online-a3a0f3f6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Vann63E6qloMDCkmCPfVH

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 chainray-online-a3a0f3f6
```

Example prompt: What are the current gas prices on Base — slow, standard, and fast — and is the fee trend stable or rising right now?

## When to prefer this

Use this endpoint when an agent needs real-time gas fee data for EVM chains, especially Base, Ethereum, or Polygon, to help a user decide when to submit a transaction, estimate costs, or set gas limits. It is particularly useful for DeFi automation agents, wallet assistants, or transaction schedulers that need up-to-date fee intelligence with cryptographic block-level proof.

## Known failure modes

- Unsupported chain name returns an error or empty response
- Missing 'chain' query parameter may default to 'base' or return a validation error
- Network latency may cause slightly stale block data
- Chain node outage could return a 503 or timeout
- Malformed chain identifier (e.g. typo) returns no data

## How this service works

Provides real-time gas price estimates and transaction speed recommendations for EVM chains (use 'chain' query, e.g., 'base').

## Output

Returns a JSON object with the queried chain name, current gas prices (slow, standard, fast in gwei), base fee, gas trend (e.g. 'stable'), a cryptographic proof anchored to a recent block (block number, block hash, timestamp), and a history array of recent blocks with their base fee and network utilization percentage.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "chain": "ethereum"
  }
 }
}
```

## 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": "Blockchain network (e.g., base, ethereum, polygon)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainray-online-a3a0f3f6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chainray.online](https://www.zero.xyz/host/chainray.online/llms.txt)
