A chain ID is a whole number that uniquely identifies an EVM-compatible blockchain, defined by EIP-155 and included in every transaction signature so that a transaction signed for one network cannot be replayed on another. Ethereum mainnet is 1, Base is 8453, Arbitrum One is 42161, Polygon PoS is 137, BNB Smart Chain is 56, Optimism is 10, Avalanche C-Chain is 43114 and the Sepolia testnet is 11155111.
The full list of mainnets and testnets is in sections 2 and 3, with each number in hex as well, because wallets and RPC endpoints often show it that way (Base is 8453 in decimal and 0x2105 in hex). To add Base to a wallet, enter chain ID 8453, RPC URL https://mainnet.base.org, currency symbol ETH and explorer https://basescan.org; for Arbitrum One, 42161, https://arb1.arbitrum.io/rpc, ETH and https://arbiscan.io. Sections 2 and 3 give the same fields for every network still running, and each public RPC URL in them answered with its chain ID and a recent block on November 25, 2026.
Chain IDs come up at the worst moments: a wallet form that will not save, a dapp that says "unsupported chain", a library that needs the number before it will sign. The lists online give you the number without the meaning, and the explainers give you the meaning without the list. This page has both: what the integer does, the chain IDs of the networks people actually use, in decimal and hex, and how to check one yourself in a few seconds.
The short version
- A chain ID is the integer that identifies one EVM network. Ethereum is 1, Optimism 10, BNB Smart Chain 56, Polygon 137, Base 8453, Arbitrum One 42161, Avalanche 43114, Sepolia 11155111.
- It is part of every signature since EIP-155, so a transaction signed for chain 1 is rejected on every other chain. That is what stops replay attacks between networks.
- Hex and decimal are the same number: MetaMask shows 0x2105, chainlist shows 8453, both mean Base.
- The authoritative value is whatever the network's RPC endpoint returns for eth_chainId. A wallet rejects a custom network whose entered chain ID does not match that answer.
1. What is a chain ID?
Every EVM network, from Ethereum itself to the smallest Layer 2, carries a single integer that tells software which chain it is talking to. That integer is the chain ID. It is not an address, not a contract and not a network name: it is a plain number that nodes, wallets, libraries and dapps all agree on, and it is baked into every transaction you sign.
The number comes from EIP-155, activated in the Spurious Dragon hard fork at block 2,675,000 in 2016. Before it, an Ethereum transaction signed on one chain was valid on any chain where the same account existed, which became a real problem when Ethereum and Ethereum Classic split and shared every address. EIP-155 added the chain ID to the data that gets signed, so the signature only verifies on the chain it was made for.
In practice you meet the chain ID in three places: the network settings of a wallet, the error message of a dapp that does not support the network you are on, and the configuration of any library that signs transactions.
2. Chain ID list: mainnets
The networks below are the ones people search for and the ones this site tracks. Values come from the ethereum-lists/chains registry that chainlist.org and chainid.network are built on. On November 25, 2026 we called eth_chainId and eth_getBlockByNumber on every RPC URL in the table: each returned the chain ID next to it and a recent block. Where ChainGate has a gas tracker for the network, the name links to it.
| Network | Chain ID | Hex | Native token | RPC URL | Block explorer |
|---|---|---|---|---|---|
| Ethereum Mainnet | 1 | 0x1 | ETH | https://ethereum-rpc.publicnode.com | https://etherscan.io |
| OP Mainnet (Optimism) | 10 | 0xa | ETH | https://mainnet.optimism.io | https://optimistic.etherscan.io |
| Cronos | 25 | 0x19 | CRO | https://evm.cronos.org | https://explorer.cronos.com |
| BNB Smart Chain | 56 | 0x38 | BNB | https://bsc-dataseed.bnbchain.org | https://bscscan.com |
| Syscoin | 57 | 0x39 | SYS | https://rpc.syscoin.org | https://explorer.syscoin.org |
| Ethereum Classic | 61 | 0x3d | ETC | https://geth-at.etc-network.info | https://etc.blockscout.com |
| Gnosis | 100 | 0x64 | XDAI | https://rpc.gnosischain.com | https://gnosisscan.io |
| Unichain | 130 | 0x82 | ETH | https://mainnet.unichain.org | https://uniscan.xyz |
| Polygon PoS | 137 | 0x89 | POL | https://polygon-bor-rpc.publicnode.com | https://polygonscan.com |
| Monad | 143 | 0x8f | MON | https://rpc.monad.xyz | https://monadvision.com |
| Sonic | 146 | 0x92 | S | https://rpc.soniclabs.com | https://sonicscan.org |
| opBNB | 204 | 0xcc | BNB | https://opbnb-mainnet-rpc.bnbchain.org | https://opbnbscan.com |
| Fantom Opera | 250 | 0xfa | FTM | https://rpcapi.fantom.network | https://explorer.fantom.network |
| zkSync Era | 324 | 0x144 | ETH | https://mainnet.era.zksync.io | https://explorer.zksync.io |
| PulseChain | 369 | 0x171 | PLS | https://rpc.pulsechain.com | https://scan.pulsechain.com |
| World Chain | 480 | 0x1e0 | ETH | https://worldchain-mainnet.g.alchemy.com/public | https://worldscan.org |
| Polygon zkEVM | 1101 | 0x44d | ETH | Shut down | Shut down |
| Moonbeam | 1284 | 0x504 | GLMR | Shut down | Shut down |
| Moonriver | 1285 | 0x505 | MOVR | Shut down | Shut down |
| Sei | 1329 | 0x531 | SEI | https://evm-rpc.sei-apis.com | https://seiscan.io |
| Soneium | 1868 | 0x74c | ETH | https://rpc.soneium.org | https://soneium.blockscout.com |
| Ronin | 2020 | 0x7e4 | RON | https://api.roninchain.com/rpc | https://app.roninchain.com |
| Kava | 2222 | 0x8ae | KAVA | https://evm.kava.io | https://kavascan.com |
| peaq | 3338 | 0xd0a | PEAQ | https://quicknode1.peaq.xyz | https://peaq.subscan.io |
| Mantle | 5000 | 0x1388 | MNT | https://rpc.mantle.xyz | https://mantlescan.xyz |
| Base | 8453 | 0x2105 | ETH | https://mainnet.base.org | https://basescan.org |
| Haqq Network | 11235 | 0x2be3 | ISLM | https://rpc.eth.haqq.network | https://explorer.haqq.network |
| Arbitrum One | 42161 | 0xa4b1 | ETH | https://arb1.arbitrum.io/rpc | https://arbiscan.io |
| Arbitrum Nova | 42170 | 0xa4ba | ETH | https://nova.arbitrum.io/rpc | https://arbitrum-nova.blockscout.com |
| Celo | 42220 | 0xa4ec | CELO | https://forno.celo.org | https://celoscan.io |
| Avalanche C-Chain | 43114 | 0xa86a | AVAX | https://api.avax.network/ext/bc/C/rpc | https://snowtrace.io |
| Ink | 57073 | 0xdef1 | ETH | https://rpc-gel.inkonchain.com | https://explorer.inkonchain.com |
| Linea | 59144 | 0xe708 | ETH | https://rpc.linea.build | https://lineascan.build |
| Berachain | 80094 | 0x138de | BERA | https://rpc.berachain.com | https://berascan.com |
| Blast | 81457 | 0x13e31 | ETH | Shut down | Shut down |
| Chiliz Chain | 88888 | 0x15b38 | CHZ | https://rpc.chiliz.com | https://chiliscan.com |
| Taiko | 167000 | 0x28c58 | ETH | https://rpc.mainnet.taiko.xyz | https://taikoscan.io |
| Scroll | 534352 | 0x82750 | ETH | https://rpc.scroll.io | https://scrollscan.com |
| Zora | 7777777 | 0x76adf1 | ETH | https://rpc.zora.energy | https://explorer.zora.energy |
Each RPC URL is a public endpoint that needs no API key: the network's own where it runs one, otherwise a free provider from the same registry. Ethereum mainnet has no official endpoint, and Polygon's did not work: polygon-rpc.com rejected every request with HTTP 401 ("API key disabled"), and rpc-amoy.polygon.technology, the Amoy address in Polygon's MetaMask guide, no longer resolves. The Ethereum, Polygon PoS and Amoy rows use PublicNode instead. Base's documentation calls its public endpoints free, rate limited, best effort and not suitable for production apps, and that holds for all of them: use them to add a network to a wallet or to run a test script, and give an app in production a provider account, its own node or a hosted RPC like ChainGate's (section 11).
Four networks that older lists still carry have shut down. Polygon Labs shut down the Polygon zkEVM sequencer in July 2026, and balances left in wallets there (not funds locked in DeFi protocols) were moved to Ethereum, where they can be claimed until December 31, 2027. Moonbeam and its sister network on Kusama, Moonriver, wound down after July 31, 2026, the deadline for moving GLMR and MOVR to Base, and both produced their last blocks on August 10, 2026. Blast closed its L2 in November 2026, and blast.io is now a recovery site where funds held on Blast are claimed on Ethereum mainnet. Some public nodes still answer for these chain IDs, but they serve the last block, not a working network.
A few of these trip people up. Polygon PoS is 137 and its native token is now POL, not MATIC; Polygon zkEVM was a separate chain, 1101. OP Mainnet is the network most people still call Optimism. Arbitrum One (42161) is the main Arbitrum chain; Arbitrum Nova (42170) is a separate one for games and social apps. BNB Smart Chain (56) and opBNB (204) are different networks with the same gas token. Ethereum Classic has network ID 1, the same as Ethereum, but chain ID 61, which is exactly the case EIP-155 was written for.
Exchange menus use yet another set of names for the same chains: ERC20 for Ethereum, BEP20 for BNB Smart Chain, Arbitrum for Arbitrum One. The network names guide maps those labels to the IDs in this table.
3. Chain ID list: testnets and local networks
Testnets have their own chain IDs, and a wallet switched to the wrong one will show a zero balance for funds that are perfectly safe on the right one.
| Network | Chain ID | Hex | RPC URL | Block explorer | Notes |
|---|---|---|---|---|---|
| Ethereum Sepolia | 11155111 | 0xaa36a7 | https://rpc.sepolia.ethpandaops.io | https://sepolia.etherscan.io | Ethereum's recommended testnet for application development |
| Ethereum Hoodi | 560048 | 0x88bb0 | https://rpc.hoodi.ethpandaops.io | https://hoodi.etherscan.io | Ethereum testnet for staking and validator testing |
| Ethereum Holesky | 17000 | 0x4268 | Shut down | Shut down | Deprecated since September 2025; use Hoodi for staking tests, Sepolia for apps |
| Base Sepolia | 84532 | 0x14a34 | https://sepolia.base.org | https://sepolia.basescan.org | Base testnet |
| Arbitrum Sepolia | 421614 | 0x66eee | https://sepolia-rollup.arbitrum.io/rpc | https://sepolia.arbiscan.io | Arbitrum testnet |
| OP Sepolia | 11155420 | 0xaa37dc | https://sepolia.optimism.io | https://sepolia-optimism.etherscan.io | OP Mainnet testnet |
| Polygon Amoy | 80002 | 0x13882 | https://polygon-amoy-bor-rpc.publicnode.com | https://amoy.polygonscan.com | Polygon PoS testnet |
| BNB Smart Chain Testnet | 97 | 0x61 | https://data-seed-prebsc-1-s1.bnbchain.org:8545 | https://testnet.bscscan.com | BNB Smart Chain testnet |
| Avalanche Fuji | 43113 | 0xa869 | https://api.avax-test.network/ext/bc/C/rpc | https://testnet.snowtrace.io | Avalanche C-Chain testnet |
| Hardhat Network (local) | 31337 | 0x7a69 | http://127.0.0.1:8545 | None (local chain) | Default for a local Hardhat Network |
| Geth private chain (local) | 1337 | 0x539 | http://127.0.0.1:8545 | None (local chain) | Default for a Geth private chain; Besu's dev network uses it too |
The Ethereum testnet statuses are from ethereum.org; Hardhat's default is in its network reference and Geth's in EIP-155 itself. Local chains are the one place where two different tools pick different defaults, so if a wallet complains when you connect to a local node, check whether it is 1337 or 31337.
No public Holesky endpoint answered on November 25, 2026. In the wallet's currency field, enter ETH for the Ethereum, Base, Arbitrum and OP testnets, POL for Amoy, tBNB for the BNB Smart Chain testnet and AVAX for Fuji. The two local rows point at http://127.0.0.1:8545, where a Hardhat node, Foundry's Anvil (also chain ID 31337) and Geth with HTTP enabled listen by default.
4. Why does the chain ID matter?
Because it is part of the signature. Under EIP-155 the chain ID is one of the fields hashed before signing, and the signature's v value is set to the chain ID multiplied by two, plus 35 or 36. A node on chain 137 that receives a transaction signed for chain 1 cannot recover a valid sender from it and drops it. The same account, the same nonce and the same recipient exist on both chains, but the signature only works on one.
Everything else follows from that. A wallet uses the chain ID to show the right network name, currency symbol and explorer. A dapp uses it to pick the contract addresses to call, which is why a dapp built for Base refuses to work when your wallet is on Ethereum. A library uses it to build the signature, which is why getting it wrong in configuration produces transactions that never land anywhere.
If a form asks for your "EVM wallet address" instead of a network, it wants the 0x address itself; the EVM wallet address guide explains why that address is the same on every chain in the list above and how to find it in your wallet.
5. Chain ID vs network ID
Ethereum networks carry two identifiers, and most of the time they are the same number, which is why the terms get mixed up. The Hyperledger Besu documentation puts the difference in one sentence: peer-to-peer communication between nodes uses the network ID, while the transaction signature process uses the chain ID.
The two diverge in a few known cases. Ethereum and Ethereum Classic both have network ID 1, because they were one network until 2016, but chain IDs 1 and 61. Besu's development network uses chain ID 1337 with network ID 2018. For Ethereum mainnet, Sepolia, Hoodi and every Layer 2 in the tables above, the two values match, and nothing you do in a wallet ever asks for the network ID.
Over JSON-RPC they are separate calls: eth_chainId returns the chain ID as a hex string, and net_version returns the network ID as a decimal string. If a tool asks for a "network ID" in a wallet or dapp context, it almost always means the chain ID.
6. How do I find a network's chain ID?
Four ways, from quickest to most authoritative.
- The tables on this page
- Covers the networks people use day to day, with the hex form next to each number and a public RPC URL you can check it against.
- chainlist.org or chainid.network
- Both read the ethereum-lists/chains registry on GitHub, which lists over 2,800 EVM chains. Searching by name gives the chain ID, the native token and public RPC URLs. MetaMask's own help pages point to Chainlist, with the note that MetaMask does not maintain the data there, so check the entry before adding a network.
- The wallet's network settings
- MetaMask, Rabby, Trust Wallet and the rest show the chain ID of every configured network under its details. This is the number the wallet is actually signing with.
- The RPC endpoint itself
- Call eth_chainId on the node. Whatever it returns is, by definition, that network's chain ID, and it is what wallets compare against when you add a custom network:
curl -s -X POST https://mainnet.base.org \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}'
# {"jsonrpc":"2.0","id":1,"result":"0x2105"}
# 0x2105 = 8453, so this endpoint is BaseThe result is hex. 0x2105 is 8453, so this endpoint belongs to Base. The call needs no wallet, signature or gas, which makes it the fastest check on an RPC URL from a guide, a config file or a colleague, but a match only tells you which chain the endpoint claims to serve. A node frozen on a chain that has shut down still returns the right number, so also look at the latest block: eth_getBlockByNumber with "latest" returns its timestamp, and on a frozen chain that date is weeks or months old. Take RPC URLs from the network's own documentation or a provider you chose, never from a direct message or a "support agent".
7. How do I add a network to MetaMask with its chain ID?
Adding a custom network means filling the five fields defined by EIP-3085, the standard behind the wallet_addEthereumChain call that dapps use to do the same thing with one click:
- Network name
- Free text, for display only.
- RPC URL
- The JSON-RPC endpoint the wallet will talk to. The tables above give one public endpoint for each network still running; Chainlist lists more, and your own provider's URL works as well.
- Chain ID
- The number from the tables above. MetaMask's form takes it in decimal (8453) or as hex with the 0x prefix (0x2105), and dapps pass the hex form in the API call. Hex typed without the 0x is read as decimal (2105 means chain 2105, not Base), or rejected if it contains letters.
- Currency symbol
- What the native token is called: ETH on Base and Arbitrum, POL on Polygon, BNB on BNB Smart Chain, AVAX on Avalanche.
- Block explorer URL
- Optional. Lets the wallet link transactions to the explorer. Paste the full URL, https:// included, as the tables show it: MetaMask rejects a bare domain.
The chain ID and the RPC URL have to agree. EIP-3085 requires the wallet to reject the request if the chain ID it was given does not match the value of eth_chainId from the RPC endpoint, and MetaMask shows an error on the form when that happens. If you see it, the number is wrong, the URL is for a different network, or the URL is a dead endpoint; test it with the curl call from the previous section.
8. Why do I get a chain ID mismatch or unsupported chain error?
The wording differs between wallets and dapps, but there are only a handful of causes:
- The RPC URL and the chain ID disagree
- You typed 8453 but pasted an Ethereum mainnet URL, or the reverse. The wallet asked the endpoint, got a different answer and refused. Fix the one that is wrong.
- The dapp does not support the network you are on
- "Unsupported chain" or "wrong network" means the dapp's contracts are deployed on other chain IDs. Switch the wallet to one the dapp lists, usually through its own network button.
- A transaction was signed for a different chain ID than the node's
- The node rejects it with an invalid-sender or invalid-chain-id error, because the EIP-155 signature cannot be recovered on that chain. This is a configuration bug in the sending software, never a network outage.
- A local chain changed its ID
- Restarting a dev node with a different chain ID than the one MetaMask has saved produces mismatches and stale nonces. Remove and re-add the local network.
- Hex and decimal were mixed
- 0x89 is 137, but the same digits typed without the prefix, 89, are read as the decimal number 89, which is a different chain. In wallet forms use decimal or hex with its 0x; in API calls use the 0x hex form.
For the other messages a node or wallet can throw back at a transaction, from "nonce too low" to "insufficient funds for gas", see the guide to Ethereum transaction errors.
9. Decimal, hex and CAIP-2: three ways to write the same ID
Chainlist and wallet forms show chain IDs in decimal. JSON-RPC, EIP-3085 and MetaMask's internal settings use 0x-prefixed hexadecimal, so 137 appears as 0x89, 42161 as 0xa4b1 and 11155111 as 0xaa36a7. They are the same integer; the tables above give both.
Multi-chain tools such as WalletConnect add a third form, CAIP-2, which prefixes the number with a namespace so that chains outside the EVM can share one identifier scheme: Ethereum mainnet is eip155:1, Polygon is eip155:137, Base is eip155:8453. The eip155 part says "this is an EVM chain ID"; the number after the colon is the same chain ID as everywhere else.
Chain IDs also matter for token addresses: USDC and most other tokens have a different contract address on each chain, so a wallet needs both the chain ID and the address to show the right balance. The contract address guide explains how to find and verify a token's address on each network.
10. Do Bitcoin and Solana have chain IDs?
Not in the EIP-155 sense. A chain ID is an EVM concept, and Bitcoin, Litecoin, Dogecoin, Solana and XRP do not have one, which is why a wallet never asks for it when you add those coins.
Those networks tell mainnet and test networks apart in other ways. Bitcoin-family chains use different address formats and network parameters for mainnet and testnet, which is why a testnet address starts differently. Solana runs separate clusters called Mainnet, Devnet and Testnet, each with its own RPC endpoint. If a form asks you for a "chain ID" when depositing Bitcoin or Solana, it is asking which network to use, not for a number.
11. Using chain IDs in code
Any library that signs EVM transactions needs the chain ID, either from configuration or by asking the node. With the ChainGate SDK the hosted networks already carry it, and a custom EVM network takes it as a parameter next to the RPC URL:
import { ChainGate, importWallet } from 'chaingate';
const cg = new ChainGate({ apiKey: process.env.CHAINGATE_API_KEY });
const wallet = importWallet({ phrase: process.env.MNEMONIC });
// Hosted networks already know their chain ID
const base = cg.connect(cg.networks.base, wallet);
// Any other EVM network: pass the RPC URL and the chain ID it reports
const scroll = cg.networks.evmRpc({
rpcUrl: 'https://rpc.scroll.io',
chainId: 534352,
name: 'Scroll',
symbol: 'ETH',
});
const scr = cg.connect(scroll, wallet);The value you pass must match what the endpoint reports for eth_chainId, for the reasons in section 4. The tutorial on sending crypto in JavaScript walks through the rest of the flow, and the ChainGate documentation lists the hosted RPC URLs.
12. Where to go from here
With the chain ID settled, the next question on any network is what sending costs there. The multi-chain gas tracker covers the networks linked in the mainnet table above with live fees, and the guide to gas fees explains the numbers it shows. If a transaction has already gone out and you need to find it, the transaction hash guide shows how to look it up on the right explorer. And for wallets, transfers and RPC access across the live networks above from one TypeScript library, ChainGate is the SDK behind this site.
Frequently asked questions
What is a chain ID in crypto?
A whole number that uniquely identifies an EVM-compatible blockchain, defined by EIP-155. It is included in every transaction signature so that a transaction signed for one network is invalid on every other. Ethereum mainnet is 1, Base 8453, Arbitrum One 42161, Polygon 137.
What is the chain ID of Ethereum mainnet?
1, written 0x1 in hex. Its testnets are Sepolia (11155111) and Hoodi (560048); Holesky (17000) was deprecated in September 2025 and no public endpoint answers anymore. Ethereum has no official public RPC endpoint; https://ethereum-rpc.publicnode.com works without a key, and the explorer is https://etherscan.io.
What is the Base chain ID?
8453 in decimal, 0x2105 in hex. The Base Sepolia testnet is 84532. To add Base to a wallet, use the RPC URL https://mainnet.base.org, the currency symbol ETH and the explorer https://basescan.org.
What is the Arbitrum chain ID?
Arbitrum One is 42161 (0xa4b1). Arbitrum Nova is a separate chain, 42170, and the Arbitrum Sepolia testnet is 421614. For Arbitrum One, the public RPC URL is https://arb1.arbitrum.io/rpc, the currency symbol ETH and the explorer https://arbiscan.io.
What is the Polygon chain ID?
Polygon PoS is 137 (0x89), with POL as its native token. Polygon zkEVM was a different chain, 1101, shut down in July 2026, and the Polygon Amoy testnet is 80002. For the RPC URL, https://polygon-bor-rpc.publicnode.com works without a key; polygon-rpc.com, which many guides still give, rejected every request (HTTP 401, "API key disabled") when we tested it. The explorer is https://polygonscan.com.
What is the difference between chain ID and network ID?
The network ID is used for peer-to-peer communication between nodes; the chain ID is used in transaction signatures. They are the same number on Ethereum mainnet and every public testnet, but Ethereum Classic has network ID 1 and chain ID 61, and Besu's development network uses chain ID 1337 with network ID 2018.
How do I find the chain ID of a network?
Look it up on chainlist.org or chainid.network, read it in your wallet's network settings, or send an eth_chainId JSON-RPC call to the network's RPC URL. The RPC answer, in hex, is the authoritative value.
Why does MetaMask say the chain ID does not match?
Because the RPC URL you entered reports a different chain ID than the one you typed. EIP-3085 requires wallets to reject that combination. Check the number against the list, or call eth_chainId on the URL to see which network it really is.
Is the chain ID the same as the hex value in MetaMask?
Yes: 0x2105 and 8453 are the same number. JSON-RPC and dapp calls use 0x-prefixed hex, Chainlist uses decimal and MetaMask's network form accepts both. Write hex with its 0x every time, because bare digits are read as decimal.
Build with ChainGate
Put these ideas to work — ChainGate gives you wallets, transactions and managed RPC for Ethereum and 20+ other blockchains with one install.