# Joe EVM RPC – Chain Network Info

> Joe EVM RPC – Chain Network Info is a paid API for AI agents from joe-evm-rpc.marnick-yezo.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns live network metadata for Base or Ethereum: current block number, gas price, chain ID, block time, and staleness info.

## Facts

- Endpoint: GET https://joe-evm-rpc.marnick-yezo.workers.dev/api/chain/network-info
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/joe-evm-rpc-chain-network-info-0182dff2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UiwkCEeZFft70pAoIR4eN

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 joe-evm-rpc-chain-network-info-0182dff2
```

Example prompt: What's the current block number and gas price on Base mainnet right now — is the node up to date?

## When to prefer this

Use this endpoint when an AI agent needs live, authoritative chain-level metadata for Base or Ethereum — specifically block tip, gas price, and node freshness — without setting up a full node or managing RPC credentials. It is ideal for agents that need to confirm chain state before executing transactions, monitor network health, or display real-time blockchain status. Prefer it over raw public RPC calls when you want a metered, x402-compatible, pay-per-call interface that abstracts away RPC provider management.

## Known failure modes

- Invalid network enum value (not 'base' or 'ethereum') returns 400 or validation error
- Payment not included or insufficient USDC balance causes 402 Payment Required
- Upstream RPC node unreachable causes 503 or timeout
- Stale data returned if upstream is lagging — indicated by 'stale: true' in response
- Rate limiting if too many requests are made in short succession

## How this service works

Live Base and Ethereum RPC for AI agents: block tip, balances, transactions, and ENS. $0.001 USDC per call on Base.

## Output

Returns a JSON object with chain metadata including current block number (hex), gas price (hex), chain ID (hex and integer), network name, layer, stack type, average block time in ms, head timestamp, head age in seconds, staleness threshold, and whether the data is currently stale. Also includes meta fields: RPC URL used, endpoint path, cost in USDC, and a request ID.

## 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"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "pathParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "network": {
       "enum": [
        "base",
        "ethereum"
       ],
       "type": "string",
       "default": "base",
       "description": "EVM network. Default base."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "chain": {
    "ens": false,
    "name": "base",
    "layer": 2,
    "stack": "op-stack",
    "indexed": false,
    "mempool": true,
    "chain_id": 8453,
    "finality": "l1-batch",
    "is_default": true,
    "native_currency": "ETH",
    "avg_block_time_ms": 2000,
    "stale_after_seconds": 60
   },
   "stale": false,
   "network": "base",
   "chain_id": "0x2105",
   "gas_price": "0x5f5e100",
   "net_version": "8453",
   "block_number": "0x12a05f2",
   "head_timestamp": 1750000000,
   "head_age_seconds": 2,
   "stale_after_seconds": 60
  },
  "meta": {
   "rpc": "https://mainnet.base.org",
   "network": "base",
   "endpoint": "/api/chain/network-info",
   "cost_usdc": "0.001",
   "request_id": "00000000abcdef01"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/joe-evm-rpc-chain-network-info-0182dff2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from joe-evm-rpc.marnick-yezo.workers.dev](https://www.zero.xyz/host/joe-evm-rpc.marnick-yezo.workers.dev/llms.txt)
