Skip to content
Fourohtwo

Optimism RPC (chain 10)

rpc.nodeflare.app/op/x402

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.

BasePolygonArbitrumAnswering
POSThttps://rpc.nodeflare.app/op/x402

UptimeNot checked yet

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://rpc.nodeflare.app/op/x402", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"id":1,"jsonrpc":"2.0","method":"eth_blockNumber","params":[]}),
});
console.log(await res.json());

Example input

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "eth_blockNumber",
  "params": []
}

More from NodeFlare