# QuickNode: JSON-RPC proxy — polygon-mainnet

> QuickNode: JSON-RPC proxy — polygon-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-13).

Provides low-latency JSON-RPC access to the Polygon (Matic) mainnet for sending transactions, querying blockchain state, and interacting with smart contracts.

## Facts

- Endpoint: POST https://x402.quicknode.com/polygon-mainnet
- Price: $10/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-quicknode-com-4d4d761a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TcoibTuIvSQd0qT-KlsxW

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 x402-quicknode-com-4d4d761a -d '<json body>'
```

Example prompt: Check the current MATIC balance for wallet address 0xAbC123...def456 on Polygon mainnet using eth_getBalance with block tag 'latest'.

## When to prefer this

Choose this endpoint when you specifically need to interact with the Polygon (Matic) mainnet — for sending MATIC/ERC-20 transactions, reading DeFi contract state, or querying Polygon-native dApps. Prefer this over Ethereum mainnet endpoints when gas costs need to be low or when the target contracts are deployed on Polygon. Use sibling endpoints for other networks.

## Known failure modes

- Invalid JSON-RPC method name returns error code -32601 (method not found)
- Malformed params array returns error code -32602 (invalid params)
- Transaction broadcast fails if nonce or gas is incorrect, returning execution reverted error
- Rate limiting or payment failure may return 402 or 429 status
- Network congestion may cause delayed transaction inclusion
- Contract call to non-existent address returns empty result

## How this service works

Low-latency RPC access to the Polygon (Matic) mainnet for sending transactions, querying state, and interacting with smart contracts.

## Output

A JSON-RPC 2.0 response object containing the 'result' field with the requested data (e.g. block info, balance in hex wei, transaction receipt, contract return value) or an 'error' object with code and message if the call failed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "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"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-quicknode-com-4d4d761a/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)
