Try XDC Network Endpoints
HTTPS
https://api-xdc-mainnet.n.dwellir.com/ccecda65-db91-415b-9c5b-52bf93b3ae9b
WSS
wss://api-xdc-mainnet.n.dwellir.com/ccecda65-db91-415b-9c5b-52bf93b3ae9b
Quick Start
BASH
curl -sS -X POST https://api-xdc-mainnet.n.dwellir.com/ccecda65-db91-415b-9c5b-52bf93b3ae9b \-H 'Content-Type: application/json' \-d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
JAVASCRIPT
import { JsonRpcProvider } from 'ethers';const provider = new JsonRpcProvider('https://api-xdc-mainnet.n.dwellir.com/ccecda65-db91-415b-9c5b-52bf93b3ae9b');const latest = await provider.getBlockNumber();console.log('block', latest);
PYTHON
import requestsurl = 'https://api-xdc-mainnet.n.dwellir.com/ccecda65-db91-415b-9c5b-52bf93b3ae9b'payload = { 'jsonrpc': '2.0', 'id': 1, 'method': 'eth_blockNumber', 'params': [] }resp = requests.post(url, json=payload)print(resp.json())
GO
package mainimport ("bytes""fmt""net/http""io/ioutil")func main() {url := "https://api-xdc-mainnet.n.dwellir.com/ccecda65-db91-415b-9c5b-52bf93b3ae9b"payload := []byte("{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"eth_blockNumber\",\"params\":[]}")resp, err := http.Post(url, "application/json", bytes.NewBuffer(payload))if err != nil { panic(err) }defer resp.Body.Close()body, _ := ioutil.ReadAll(resp.Body)fmt.Println(string(body))}
XDC Network is an enterprise-grade, open-source blockchain protocol focused on decentralized finance and global trade. Powered by the XDPoS consensus mechanism, it delivers 2,000+ TPS, near-instant finality, and negligible gas fees. Its EVM-compatible smart-contract layer enables developers to port Ethereum dApps while benefiting from superior performance and cost-efficiency. XDC's hybrid architecture and ISO-20022 compliant messaging make it ideal for tokenizing real-world assets, trade finance instruments, and supply-chain solutions.
Pricing
How many calls do you make per month?
/ month
Growth
$299
/month
- 500 Responses /sec
- Dedicated Account Manager
150,000,000 responses ≈ 150.0M • Base $299 + Overages $0
Developer Resources
FAQs
What is XDC Network and what makes it unique?
Is XDC Network compatible with Ethereum tools?
What are common use cases for XDC Network?
How does XDC achieve low fees and high throughput?
What is the XDC token used for?
Get your API key
and join other leading Web3 companies using Dwellir's infrastructure