⚠️Blast API (blastapi.io) ends Oct 31. Migrate to Dwellir and skip Alchemy's expensive compute units.
Switch Today →
Skip to main content

XDC Network — Enterprise-Grade Hybrid Blockchain

XDC Network RPC
With Dwellir, you get access to our global XDC Network network which always routes your API requests to the nearest available location, ensuring low latency and the fastest speeds.

Get your API key →

Why Build on XDC Network

  • Enterprise ready — Optimized for trade finance, tokenized real-world assets, and enterprise-grade integrations
  • Hybrid architecture — Public network with optional private state channels for sensitive data
  • Ethereum-compatible tooling — Seamless migration for Solidity smart contracts and EVM tooling
  • ISO 20022 alignment — Built with financial messaging standards and compliance workflows in mind
  • Efficient consensus — XinFin Delegated Proof of Stake (XDPoS) delivers ~2 second block times and low fees

Quick Start

Connect Endpoints

🔗 RPC Endpoints

XDC Network Mainnet (Chain ID: 50)Live
https://api-xdc-mainnet.n.dwellir.com/YOUR_API_KEY
✓ Archive Node✓ Trace API✓ Debug API✓ WebSocket

Quick Connect:

curl -X POST https://api-xdc-mainnet.n.dwellir.com/YOUR_API_KEY \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
Network Details
  • Mainnet Chain ID: 50 (0x32)
  • Testnet Chain ID: 51 (0x33) — Apothem
  • Native Token: XDC
  • Average Block Time: ~2 seconds

Installation & Setup

import { JsonRpcProvider } from 'ethers';

// Connect to XDC Network mainnet
const provider = new JsonRpcProvider('https://api-xdc-mainnet.n.dwellir.com/YOUR_API_KEY');

// Verify connection
const { chainId } = await provider.getNetwork();
console.log('Connected to XDC Network:', chainId === 50n);

// Fetch latest block
const block = await provider.getBlock('latest');
console.log('Latest block:', block.number);

Network Statistics

Consensus

XDPoS 2.0

Delegated Proof of Stake

Finality

~2s

Fast settlement

Validator Set

108

Masternodes + delegates

Core Features

  • Hybrid privacy — Permissionless public ledger with optional private side-channels for data confidentiality
  • Low cost transactions — Typical fees under $0.0002 per transfer, enabling micro-settlement use cases
  • Asset tokenization — Native support for security tokens, invoice financing, and RWA issuance
  • Interoperability — Bridges to Ethereum, Polygon, BNB Chain, and Corda-based networks
  • Regulatory readiness — Compliance-first tooling, identity layers, and notarization workflows

JSON-RPC Method Reference

Detailed method guides for XDC Network are coming soon. Standard Ethereum JSON-RPC calls (eth_blockNumber, eth_getBalance, eth_sendRawTransaction, etc.) are fully supported today.

Want early access?

Reach out to the Dwellir team if you need a specific method guide prioritized.

Tooling & Integrations

Developer Resources

Next Steps

  1. Request your dedicated API key from the Dwellir dashboard
  2. Point your existing EVM tooling to the endpoints above
  3. Start deploying Solidity contracts or minting assets on XDC Network

Build confidently on XDC Network with globally distributed, low-latency RPC access from Dwellir.