OKT Chain logo

OKT Chain Testnet

RPC Endpoints

Chain ID: 0x41 · OKT

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

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

StatusRPC EndpointChain IDCurrencyExplorerWallet
Checking
https://oktc-testnet.drpc.org/
0x41OKTExplorer
Checking
https://exchaintestrpc.okex.org
0x41OKTExplorer

Connect to OKT Chain Testnet with ethers.js

import { ethers } from "ethers";

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

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

OKT Chain Testnet — common questions

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