Skip to content

XDC Mainnet RPC

The XDC Mainnet is the live, operational environment of the XDC Network, where real transactions occur. The Mainnet is designed to support high-performance applications with low transaction fees and quick finality, making it ideal for enterprise use cases. The primary URL for accessing the XDC Mainnet via RPC. This endpoint allows you to interact with the blockchain by sending requests for data, submitting transactions, and more.

Public Networks

Users with an internet connection and access to a full node RPC can easily access the XDC Network’s public blockchain. They can read, create, or validate transactions executed on the blockchain. The network’s consensus mechanism, XDPoS (XinFin Delegated Proof of Stake), ensures that all nodes agree on the state of the network.

XDC MainNet Specifications


Apothem Testnet RPC

The Apothem Testnet is the test environment for the XDC Network. It mirrors the Mainnet’s functionality but operates with test tokens instead of real assets, making it ideal for developers to test and deploy their applications before going live.

Public Networks Similar to the Mainnet, users can access the Apothem Testnet with an internet connection and full node RPC. They can perform all the same actions as on the Mainnet—reading, creating, or validating transactions—without the risks associated with live transactions.

XDC TestNet Specifications

  • Chain ID: 51
  • RPC Endpoint for XDC Apothem:
  • https://rpc.apothem.network

  • WebSocket Endpoint: wss://ws.apothem.network

  • Consensus Mechanism: XDPoS (XinFin Delegated Proof of Stake)
  • Block Finality: >75%
  • Consensus Nodes: Up to 108 (Masternodes)
  • Genesis Block Date: 2019-05-31
  • Transaction Fee: Gas price 0.25 Gwei

Devnet RPC

The XDC Devnet is a specialized test environment for the XDC Network, designed to closely mirror the Mainnet’s functionality. The Devnet provides developers with a safe, controlled setting to test, deploy, and refine their applications using test tokens instead of real assets. This environment is crucial for ensuring that applications are robust and secure before they go live on the Mainnet.

Public Networks Similar to the Mainnet, users can access the XDC Devnet via an internet connection and a full node RPC. The Devnet allows developers to perform the same operations they would on the Mainnet, including reading blockchain data, creating and validating transactions, and deploying smart contracts. However, since the Devnet operates with test tokens, developers can experiment freely without the financial risks associated with live transactions.

XDC TestNet Specifications

  • Chain ID: 551
  • RPC Endpoint for XDC Devnet:
  • https://devnetstats.apothem.network/devnet

  • WebSocket Endpoint:

  • Consensus Mechanism: XDPoS (XinFin Delegated Proof of Stake)
  • Block Finality: >75%
  • Consensus Nodes: Up to 108 (Masternodes)
  • Genesis Block Date: 2019-05-31
  • Transaction Fee: Gas price 0.25 Gwei