Elastos logo

Elastos Smart Chain Mainnet

RPC Endpoints

Chain ID: 20 · ELA

How to add Elastos to MetaMask or other wallets

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.

StatusRPC EndpointChain IDCurrencyExplorerWallet
Checking
https://api.elastos.io/eth
20ELAExplorer
Checking
https://rpc.elastos.io/api
20ELAExplorer

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); // 32n

Elastos 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.