# Pocket Network – Gnosis Chain JSON-RPC

> Pocket Network – Gnosis Chain JSON-RPC is a paid API for AI agents from agent.pocket.network, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Provides read-only Ethereum-compatible JSON-RPC access to Gnosis Chain mainnet via Pocket Network's decentralised node supplier set, paid per-request in USDC.

## Facts

- Endpoint: POST https://agent.pocket.network/v1/gnosis?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pocket-network-gnosis-chain-json-rpc-060582f0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GH067DthSYdjk06IPTSDi

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 pocket-network-gnosis-chain-json-rpc-060582f0 -d '<json body>'
```

Example prompt: What is the current xDAI balance of 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Gnosis Chain? Use eth_getBalance at the latest block.

## When to prefer this

Choose this endpoint when you specifically need Gnosis Chain (formerly xDai) mainnet data via a decentralised, permissionless RPC with no API-key signup — ideal for agents that need pay-per-use billing in USDC via x402, or that require censorship-resistant access without a centralised provider dependency. Prefer it over centralised Gnosis RPC providers when decentralisation, privacy, or avoiding account creation matters.

## Known failure modes

- Invalid JSON-RPC method name returns error code -32601 (method not found)
- Missing or malformed params returns error code -32602 (invalid params)
- Write methods (eth_sendRawTransaction) are rejected — this is a read-only endpoint
- Insufficient USDC payment or failed x402 handshake results in 402 Payment Required
- Node temporarily out of sync may return stale or missing data
- Rate bursts beyond supplier capacity may return 429 or timeout

## How this service works

Pay-per-call access to Pocket Network services. No account, no API key.

## Output

A JSON-RPC response object containing the 'result' field with the requested chain data (balance in wei, block object, transaction object, receipt, log array, hex-encoded storage value, etc.) or an 'error' object with code and message if the call fails.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "method": {
   "type": "string",
   "examples": [
    "debug_getRawReceipts",
    "eth_accounts",
    "eth_blobBaseFee",
    "eth_blockNumber",
    "eth_call",
    "eth_capabilities",
    "eth_chainId",
    "eth_coinbase",
    "eth_config",
    "eth_createAccessList",
    "eth_estimateGas",
    "eth_feeHistory",
    "eth_gasPrice",
    "eth_getBalance",
    "eth_getBlockAccessList",
    "eth_getBlockByHash",
    "eth_getBlockByNumber",
    "eth_getBlockReceipts",
    "eth_getBlockTransactionCountByHash",
    "eth_getBlockTransactionCountByNumber",
    "eth_getCode",
    "eth_getFilterChanges",
    "eth_getFilterLogs",
    "eth_getLogs",
    "eth_getProof",
    "eth_getStorageAt",
    "eth_getStorageValues",
    "eth_getTransactionByBlockHashAndIndex",
    "eth_getTransactionByBlockNumberAndIndex",
    "eth_getTransactionByHash",
    "eth_getTransactionCount",
    "eth_getTransactionReceipt",
    "eth_getUncleByBlockHashAndIndex",
    "eth_getUncleByBlockNumberAndIndex",
    "eth_getUncleCountByBlockHash",
    "eth_getUncleCountByBlockNumber",
    "eth_maxPriorityFeePerGas",
    "eth_newBlockFilter",
    "eth_newFilter",
    "eth_newPendingTransactionFilter",
    "eth_simulateV1",
    "eth_syncing",
    "eth_uninstallFilter",
    "net_listening",
    "net_peerCount",
    "net_version",
    "web3_clientVersion",
    "web3_sha3"
   ],
   "description": "JSON-RPC read method, e.g. eth_getBalance"
  },
  "params": {
   "description": "Parameters per the Ethereum JSON-RPC spec"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "id": 1,
   "result": false,
   "jsonrpc": "2.0"
  },
  "portal": {
   "serviceId": "gnosis",
   "provenance": "third-party-supplier",
   "schemaCheck": "passed"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pocket-network-gnosis-chain-json-rpc-060582f0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent.pocket.network](https://www.zero.xyz/host/agent.pocket.network/llms.txt)
