Elastos Smart Chain Mainnet
RPC EndpointsChain ID: 20 · ELA
Elastos Smart Chain Mainnet uses ELA as its native currency. Chain ID: 32 (20). Below are 2 public RPC endpoints you can use to connect wallets, dApps, and developer tools to Elastos Smart Chain Mainnet.
Connect to Elastos Smart Chain Mainnet with ethers.js
import { ethers } from "ethers";
const provider = new ethers.JsonRpcProvider("https://api.elastos.io/eth");
const network = await provider.getNetwork();
console.log(network.chainId); // 32nElastos Smart Chain Mainnet — common questions
What is the RPC URL for Elastos Smart Chain Mainnet?
There are 2 public RPC endpoints for Elastos Smart Chain Mainnet, including https://api.elastos.io/eth. See the full list in the table above.
What is the Chain ID for Elastos Smart Chain Mainnet?
The Chain ID for Elastos Smart Chain Mainnet is 32 (20 in hexadecimal).
What is the native currency of Elastos Smart Chain Mainnet?
The native currency of Elastos Smart Chain Mainnet is ELA.
How do I add Elastos Smart Chain Mainnet to MetaMask?
Use the "Add to Wallet" button on this page to add Elastos Smart Chain Mainnet to MetaMask automatically, or follow our step-by-step guide for Elastos.