# Agent Hub EVM JSON-RPC Gateway

> Agent Hub EVM JSON-RPC Gateway is a paid API for AI agents from agents.torbrooknews.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-13).

Provides keyless JSON-RPC read access to major EVM chains (Base, Ethereum, Polygon, Arbitrum, Optimism) via standard methods like eth_call, eth_getBalance, eth_blockNumber, and eth_getLogs

## Facts

- Endpoint: GET https://agents.torbrooknews.com/v1/rpc/:chain?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-hub-evm-json-rpc-gateway-6538fc39
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_m9M0Jd69YFhcLo7VnxlU7

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 agent-hub-evm-json-rpc-gateway-6538fc39
```

Example prompt: What's the current ETH balance of wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum? Use the JSON-RPC eth_getBalance method and return the result in wei.

## When to prefer this

Choose this endpoint when you need keyless, no-signup EVM blockchain read access across multiple major chains without provisioning your own RPC provider. Ideal for agents that need to query on-chain state on Base, Ethereum, Polygon, Arbitrum, or Optimism ad-hoc at $0.002/call via x402 micropayment, without managing API keys or RPC subscriptions.

## Known failure modes

- Unsupported chain name returns an error or 404
- Malformed params string (incorrect | delimiter) causes parse errors
- eth_call to a non-existent contract address returns 0x
- Rate limiting or payment failure (x402) if USDC payment not processed
- Methods that require write access (eth_sendRawTransaction) are not supported — read-only
- Invalid hex address in params returns RPC error

## How this service works

JSON-RPC read access to EVM chains (base, ethereum, polygon, arbitrum, optimism) with no API key. Send a standard JSON-RPC body (eth_call, eth_getBalance, eth_blockNumber, eth_getLogs). Also callable as GET with the same fields as query parameters.

## Output

A standard JSON-RPC response object containing the result field with the on-chain data (e.g. balance in hex wei, call return data, log array, or block number), along with the id and jsonrpc fields mirroring the request.

## 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"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "chain"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "base | ethereum | polygon | arbitrum | optimism"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "method"
     ],
     "properties": {
      "id": {
       "type": "string",
       "description": "JSON"
      },
      "method": {
       "type": "string"
      },
      "params": {
       "type": "string",
       "description": "separate items with |"
      },
      "jsonrpc": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-hub-evm-json-rpc-gateway-6538fc39/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.torbrooknews.com](https://www.zero.xyz/host/agents.torbrooknews.com/llms.txt)
