Skip to main content

🌐 RPC Endpoints

HTTPS and WebSocket endpoints for every supported XDC network.

XDC Mainnet chainId 50

Authenticated (API key)
https://rpc.xdcrpc.com/main/evm/50
Public (rate-limited)
https://irpc.xdcrpc.com/main

XDC Apothem Testnet chainId 51

Authenticated (API key)
https://rpc.xdcrpc.com/main/evm/51

WebSocket

Subscriptions (eth_subscribe) are available over WebSocket:

wss://ws.xdcrpc.com/?apiKey=YOUR_API_KEY

Authenticated requests

Authenticated endpoints accept your API key in the X-API-Key header:

curl -H "X-API-Key: YOUR_API_KEY" https://rpc.xdcrpc.com/main/evm/50