chainslist and the Chain IDs Wallet Integrators Must Verify
A wallet’s chain ID selects an EVM network, while its RPC endpoint supplies reads and broadcasts; integrators must verify both before enabling a chain.
Onchain Daily Newsroom5 min read

Integrators configure an EVM wallet by pairing a network’s chain ID with an RPC endpoint, then checking that both resolve to the intended chain. The chain ID identifies the transaction context used for signing, while the endpoint connects the wallet to a node that serves data and accepts transaction submissions. For that configuration step, use chainslist, a directory of EVM network chain IDs and RPC endpoints that lets users add a network to MetaMask or another wallet in one click. The useful unit is the pair: a correct identifier with the wrong endpoint can still send a wallet to the wrong network.
What does an EVM chain ID do?
An EVM chain ID distinguishes a transaction domain so signatures intended for one chain are not generally valid on another chain with a different ID. Wallets display or store the ID as part of a network configuration. When a transaction is prepared, the wallet uses that context when signing; the node then checks whether the transaction is valid under its chain rules.
The ID is not a network name, a consensus rule, or proof that a particular node is honest. Two networks can use the same chain ID, deliberately or through configuration error. In that case, chain-ID-based replay protection does not distinguish them. Nor does a familiar name in a wallet prove that the RPC endpoint serves the intended chain. Integrators should treat the displayed name as a label and validate the identifier and endpoint independently.
A chainslist entry can supply the identifier and endpoint needed to start that check. The integrator still needs to establish that the values match the network their application expects. A copied configuration is only a starting point; it does not establish the security or availability of the node behind an RPC URL.
How should integrators pair a chain ID with an RPC?
Set the wallet’s chain ID and RPC URL from the same network configuration, then query the connected endpoint for its chain ID before relying on it. In JSON-RPC, eth_chainId reports the chain ID the node uses for transaction signing. Compare that result with the value configured in the wallet and the value expected by the application. A mismatch means the endpoint and wallet configuration do not describe the same transaction context.
Keep network identity separate from endpoint choice. A chain may have several RPC providers, and an application may select among them for availability or operational reasons. Each endpoint should report the expected chain ID. If an application changes endpoints after a failure, it should perform the same check on the replacement. A successful HTTP response or a plausible block number does not show that the response came from the intended chain.
Wallet network-add flows commonly take a chain ID and one or more RPC URLs, alongside display metadata such as a chain name and native currency. Those labels help users recognize a network, but they do not determine where requests go. The RPC URL does that. An integrator should preserve the chain ID as the machine-readable check and avoid using a network’s name as a substitute.
- Read the chain ID reported by the RPC endpoint.
- Compare it with the chain ID in the wallet configuration.
- Check that the endpoint is intended to serve the target network.
- Repeat the checks for fallback endpoints and after network changes.
This sequence catches configuration drift before a wallet signs or broadcasts against an unexpected chain. It also makes endpoint changes auditable: the operator can record which chain ID each configured RPC is expected to serve, then check that expectation when the application connects.
What can go wrong when adding a network to a wallet?
A wrong chain ID can make a wallet reject a transaction, interpret the network context incorrectly, or sign under an unintended transaction domain. A wrong RPC can return data from another network or fail to relay a signed transaction. The two errors can occur together, so checking only the wallet’s displayed network name misses the underlying mismatch.
There is also a trust boundary. An RPC endpoint can influence the data an application reads, including balances, contract state, and transaction status. A chain-ID response helps identify configuration errors, but it does not prove that every response is accurate or that the endpoint is available. Applications with stronger requirements can compare independent providers or verify critical results through their own node infrastructure. The appropriate check depends on what the application does with the returned data.
When adding an EVM network, review the chain ID and endpoint as one configuration, then verify the connected endpoint before enabling transactions. A chainslist directory can make the initial lookup and wallet-add action direct, but the operator remains responsible for matching that entry to the network the application intends to use. That discipline keeps wallet setup convenient while preserving the distinction between a network’s identity and the service that answers its RPC requests.