OKT Chain logo

OKT Chain Mainnet

RPC Endpoints

Chain ID: 0x42 · OKT

Other OKT Chain networks:Testnet
How to add OKT Chain to MetaMask or other wallets

OKT Chain Mainnet uses OKT as its native currency. Chain ID: 66 (0x42). Below are 2 public RPC endpoints you can use to connect wallets, dApps, and developer tools to OKT Chain Mainnet.

StatusRPC EndpointChain IDCurrencyExplorerWallet
Checking
https://oktc.drpc.org/
0x42OKTExplorer
Checking
https://exchainrpc.okex.org
0x42OKTExplorer

Connect to OKT Chain Mainnet with ethers.js

import { ethers } from "ethers";

const provider = new ethers.JsonRpcProvider("https://oktc.drpc.org/");

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

OKT Chain Mainnet — common questions

What is the RPC URL for OKT Chain Mainnet?
There are 2 public RPC endpoints for OKT Chain Mainnet, including https://oktc.drpc.org/. See the full list in the table above.
What is the Chain ID for OKT Chain Mainnet?
The Chain ID for OKT Chain Mainnet is 66 (0x42 in hexadecimal).
What is the native currency of OKT Chain Mainnet?
The native currency of OKT Chain Mainnet is OKT.
How do I add OKT Chain Mainnet to MetaMask?
Use the "Add to Wallet" button on this page to add OKT Chain Mainnet to MetaMask automatically, or follow our step-by-step guide for OKT Chain.