# NodeFlare Optimism RPC (Chain 10)

> NodeFlare Optimism RPC (Chain 10) is a paid API for AI agents from rpc.nodeflare.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-13).

Provides full JSON-RPC access to the Optimism network (chain 10) via HTTPS, including archive, trace, and debug methods, with per-request USDC micropayments and no API key required.

## Facts

- Endpoint: POST https://rpc.nodeflare.app/op/x402?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nodeflare-optimism-rpc-chain-10-f11eff0c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5_x3Bm8HjU51K4BO8jveI

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 nodeflare-optimism-rpc-chain-10-f11eff0c -d '<json body>'
```

Example prompt: Call eth_getLogs on Optimism (chain 10) for this contract address 0xabc...123 from block 110000000 to 110001000 and return all Transfer events — pay per request, no API key needed.

## When to prefer this

Choose this endpoint when you need direct, low-level JSON-RPC access to Optimism (chain 10) specifically, including archive data, trace_transaction, debug_traceCall, or eth_getLogs for event indexing — especially when you want to avoid API key registration and pay only for what you use in USDC micropayments. Prefer it over managed RPC providers when building AI agent workflows that need programmatic, accountless access to Optimism.

## Known failure modes

- Invalid JSON-RPC method name returns error code -32601
- Malformed params array causes -32602 invalid params error
- Requesting a pruned block on a non-archive node returns missing trie node error
- Insufficient USDC payment balance causes payment rejection before the call is executed
- Rate limit or node overload may cause transient 503 responses
- eth_getLogs with too broad a filter may timeout or return too many results

## How this service works

Optimism RPC (chain 10): JSON-RPC over HTTPS on NodeFlare's own bare-metal nodes. Pay per request in USDC, no account or API key - built for AI agents. All methods including eth_getLogs, eth_call, trace, and debug (archive) - good for indexing, event queries, and simulation. Simple calls $0.001; heavy calls priced by compute units.

## Output

A standard JSON-RPC 2.0 response object containing the result field with chain data (e.g. block details, transaction receipts, log arrays, call return values, trace objects) or an error object with code and message if the call fails.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "id": {
   "type": [
    "number",
    "string"
   ]
  },
  "method": {
   "type": "string"
  },
  "params": {
   "type": "array"
  },
  "jsonrpc": {
   "type": "string",
   "const": "2.0"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nodeflare-optimism-rpc-chain-10-f11eff0c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rpc.nodeflare.app](https://www.zero.xyz/host/rpc.nodeflare.app/llms.txt)
