# QuickNode JSON-RPC Proxy — xDai Mainnet

> QuickNode JSON-RPC Proxy — xDai Mainnet is a paid API for AI agents from x402.quicknode.com, paid per call via x402, $10/call, status unknown (last checked 2026-09-15).

Proxies JSON-RPC calls to the xDai (Gnosis Chain) mainnet blockchain via QuickNode infrastructure

## Facts

- Endpoint: POST https://x402.quicknode.com/xdai-mainnet/
- Price: $10/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/quicknode-73f2c6f0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_z4WxNof2xd4Inm0NLuVTX

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 quicknode-73f2c6f0 -d '<json body>'
```

Example prompt: Call eth_blockNumber on the xDai mainnet to get the current block height — use QuickNode's xDai mainnet JSON-RPC endpoint with jsonrpc 2.0 and request id 1.

## When to prefer this

Choose this endpoint when you need to interact specifically with the xDai (Gnosis Chain) mainnet — querying balances, calling smart contracts, fetching blocks, or broadcasting transactions on that network. Prefer over generic Ethereum endpoints when the target contract or address is deployed on Gnosis Chain/xDai. QuickNode provides enterprise-grade node infrastructure with high reliability.

## Known failure modes

- Invalid JSON-RPC method name returns error code -32601 (method not found)
- Malformed params array returns error code -32602 (invalid params)
- Network or node unavailability returns HTTP 503 or JSON-RPC internal error -32603
- Payment not provided or insufficient results in HTTP 402 Payment Required
- Rate limiting may return HTTP 429 if quota exceeded

## How this service works

JSON-RPC proxy — xdai-mainnet

## Output

A JSON-RPC 2.0 response object containing the result field with blockchain data (e.g. block number, transaction receipt, contract return value, account balance) corresponding to the requested method, or an error object if the call failed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "jsonrpc",
  "method"
 ],
 "properties": {
  "id": {
   "type": [
    "number",
    "string"
   ],
   "description": "Request identifier"
  },
  "method": {
   "type": "string",
   "description": "JSON-RPC method name (e.g., eth_blockNumber, eth_call)"
  },
  "params": {
   "type": "array",
   "description": "Method parameters"
  },
  "jsonrpc": {
   "type": "string",
   "const": "2.0"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "id": {
   "type": [
    "number",
    "string"
   ]
  },
  "error": {
   "type": "object",
   "properties": {
    "code": {
     "type": "integer"
    },
    "message": {
     "type": "string"
    }
   }
  },
  "result": {
   "description": "RPC result (type varies by method)"
  },
  "jsonrpc": {
   "type": "string",
   "const": "2.0"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/quicknode-73f2c6f0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.quicknode.com](https://www.zero.xyz/host/x402.quicknode.com/llms.txt)
