IoTeX logoIoTeX Mainnet RPC Endpoints

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

dRPC Logo

dRPC

Decentralized RPC Network

100+ blockchain RPCs

No rate limits

For builders and traders

Connect via dRPC
BlockchainRPC URLChain IDNative CurrencyBlock ExplorerActions
IoTeX

https://babel-api.mainnet.iotex.io

4689IOTXhttps://iotexscout.io/
IoTeX

https://iotex-mainnet.drpc.org

4689IOTXhttps://iotexscout.io/
IoTeX

https://rpc.swiftnodes.io/rpc/iotex?key=demo

4689IOTXhttps://iotexscout.io/

Connect to IoTeX Mainnet with ethers.js

import { ethers } from "ethers";

const provider = new ethers.JsonRpcProvider("https://babel-api.mainnet.iotex.io");

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

IoTeX Mainnet FAQ

What is the RPC URL for IoTeX Mainnet?

There are 3 public RPC endpoints for IoTeX Mainnet, including https://babel-api.mainnet.iotex.io. See the full list in the table above.

What is the Chain ID for IoTeX Mainnet?

The Chain ID for IoTeX Mainnet is 18057 (4689 in hexadecimal).

What is the native currency of IoTeX Mainnet?

The native currency of IoTeX Mainnet is IOTX.

How do I add IoTeX Mainnet to MetaMask?

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.