Pay for RPC one request at a time with x402
x402.erpc.global sells RPC for 16 chains one request at a time. Send a request, pay the price it answers with in USDC or EURC, and get the result. You need no ERPC account, RPC key or plan.
bash
What you can do with x402
- Call 16 chains at one host, each at its own route.
- Pay for every chain with the same stablecoin from your own wallet: USDC on Solana, or USDC or EURC on Base. You need no SOL or ETH for network fees.
- See the price before you pay. The 402 response states it, and /pricing lists each route's method prices for free.
- Pay nothing for a request x402.erpc.global refuses. It checks the method, the body and the batch size before it asks for payment.
- Keep a settlement receipt. Every paid answer carries one in the X-Payment-Response header.
How a paid request works
- Send the RPC request as usual. x402.erpc.global answers 402 Payment Required, with the price and the payment options.
- Your x402 client, the software that turns the 402 into a payment signed from your wallet, signs a payment for that price: a USDC transfer on Solana, or a USDC or EURC transfer authorization on Base.
- Send the same request again, with the signed payment in the X-Payment header.
- Once the payment is verified and settled, x402.erpc.global sends the request on to the chain and returns the answer with the receipt in the X-Payment-Response header.
Whichever chain you call, the payment settles on Solana or Base.
Chains and routes
Every route takes HTTP POST at https://x402.erpc.global. JSON-RPC routes take a single call or a batch of up to 100 calls.
WebSocket subscriptions, such as
eth_subscribe, are not sold.Payment options
Each 402 response also carries a
howToPay block with the stablecoins that request accepts and their contract addresses, so an agent can pay from the response alone.Free endpoints
Scope of use
The paid routes on this page are for paying ERPC RPC usage fees through x402. They do not provide crypto asset exchange, brokerage, custody or wallet services.






