IoTeX Mainnet RPC EndpointsIoTeX Mainnet uses IOTX as its native currency. Its Chain ID is 18057 (4689). Below are 3 public RPC endpoints you can use to connect wallets, dApps, and developer tools to IoTeX Mainnet.

Decentralized RPC Network
100+ blockchain RPCs
No rate limits
For builders and traders
| Blockchain | RPC URL | Chain ID | Native Currency | Block Explorer | Actions |
|---|---|---|---|---|---|
⏳IoTeX | https://babel-api.mainnet.iotex.io | 4689 | IOTX | https://iotexscout.io/ | |
⏳IoTeX | https://iotex-mainnet.drpc.org | 4689 | IOTX | https://iotexscout.io/ | |
⏳IoTeX | https://rpc.swiftnodes.io/rpc/iotex?key=demo | 4689 | IOTX | https://iotexscout.io/ |
import { ethers } from "ethers";
const provider = new ethers.JsonRpcProvider("https://babel-api.mainnet.iotex.io");
const network = await provider.getNetwork();
console.log(network.chainId); // 18057nThere are 3 public RPC endpoints for IoTeX Mainnet, including https://babel-api.mainnet.iotex.io. See the full list in the table above.
The Chain ID for IoTeX Mainnet is 18057 (4689 in hexadecimal).
The native currency of IoTeX Mainnet is IOTX.
Use the "Add to Wallet" button on this page to add IoTeX Mainnet to MetaMask automatically, or follow our step-by-step guide for IoTeX.