XDC logo

XDC Apothem Testnet

RPC Endpoints

Chain ID: 51 · TXDC

Other XDC networks:Mainnet
How to add XDC to MetaMask or other wallets

XDC Apothem Testnet uses TXDC as its native currency. Chain ID: 81 (51). Below are 2 public RPC endpoints you can use to connect wallets, dApps, and developer tools to XDC Apothem Testnet.

StatusRPC EndpointChain IDCurrencyExplorerWallet
Checking
https://rpc.apothem.network
51TXDCExplorer
Checking
https://xdc-testnet.gateway.tatum.io
51TXDCExplorer

Connect to XDC Apothem Testnet with ethers.js

import { ethers } from "ethers";

const provider = new ethers.JsonRpcProvider("https://rpc.apothem.network");

const network = await provider.getNetwork();
console.log(network.chainId); // 81n

XDC Apothem Testnet — common questions

What is the RPC URL for XDC Apothem Testnet?
There are 2 public RPC endpoints for XDC Apothem Testnet, including https://rpc.apothem.network. See the full list in the table above.
What is the Chain ID for XDC Apothem Testnet?
The Chain ID for XDC Apothem Testnet is 81 (51 in hexadecimal).
What is the native currency of XDC Apothem Testnet?
The native currency of XDC Apothem Testnet is TXDC.
How do I add XDC Apothem Testnet to MetaMask?
Use the "Add to Wallet" button on this page to add XDC Apothem Testnet to MetaMask automatically, or follow our step-by-step guide for XDC.