Skip to main content

🚀 Quick Start Guide

From zero to your first RPC call in about five minutes.

1. Create an account

Sign up at the XDC Gateway console and verify your email.

2. Create an API key

Open Dashboard → API Keys and generate a key. Keys are shown once — store it somewhere safe.

3. Make your first call

Send a JSON-RPC request with your key in the X-API-Key header:

curl https://rpc.xdcrpc.com/main/evm/50 \
  -X POST \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'

No key yet? Try the public gateway at https://irpc.xdcrpc.com/main (rate-limited, no archive methods).

Next steps