Skip to the article
Crypto Today

What changed in crypto today

Should You Switch MetaMask Manually or Use the dapp Prompt?

Switch network in MetaMask manually or from the dapp prompt? Use the prompt for a listed chain; add a new network only after checking its chain ID and RPC.

The Crypto Today Editors3 min read

Should You Switch MetaMask Manually or Use the dapp Prompt?

For a cBridge transfer, accept the dapp’s switch prompt when the requested network is already in MetaMask; add a new network from a trusted source when it is not, so your wallet is on the transfer’s source chain.

This matters because a switch changes the active chain, while an add prompt installs an RPC endpoint that handles balance reads and transaction broadcasts.

cBridge transfers supported assets between networks through pooled liquidity or token mappings. A cbridge cross-chain transfer still needs MetaMask set to the relevant source network before you start.

What should you do when the bridge asks for another network?

Start with the bridge page opened from your bookmark and read the wording in MetaMask before approving anything.

  1. Connect MetaMask to the bookmarked bridge page and begin the transfer. When the page asks for a different network, note the requested network name and whether the wallet prompt says “switch” or “add.”
  2. A switch request uses wallet_switchEthereumChain (EIP-3326) to change the active chain. An add request uses wallet_addEthereumChain (EIP-3085) and can include a chain ID, RPC URL and currency symbol.
  3. If the prompt says switch and the network is already in MetaMask, accept it from the bookmarked bridge page. The wallet changes its active chain; it does not install another network’s RPC settings.
  4. If MetaMask asks to add a network, read the chain ID and RPC URL before approving. Compare both with Chainlist, or cancel and add the network from MetaMask’s popular networks list. Chain IDs identify EVM networks: Ethereum is 1, Arbitrum One is 42161, and Polygon is 137.
  5. Approve the add prompt only when the network details match a trusted listing. The RPC URL is the endpoint MetaMask will use to read balances and broadcast transactions on that network. Approving an add prompt from an unverified site installs an RPC you do not control, so cancel if you cannot verify its details.
  6. Reload the bridge page after the switch or addition. Confirm that the network name shown in MetaMask matches the bridge’s source chain; that is the check that your wallet is ready for this transfer.

Why does an add prompt deserve a closer look?

An add prompt supplies connection details for a network, including the RPC URL. That endpoint reports the balances MetaMask displays and receives the transactions your wallet broadcasts. A switch prompt selects a chain MetaMask already knows about; it does not install the endpoint or other network details.

Say the transfer page requests Arbitrum One, but MetaMask shows Ethereum. If Arbitrum One is already listed, accepting the switch prompt changes the active chain to ID 42161. If MetaMask instead asks to add Arbitrum One, compare the ID and RPC URL with Chainlist before approving. Either route should leave the wallet showing Arbitrum One when you return to the reloaded bridge page.

Related

How do I add a custom network to MetaMask?

Use MetaMask’s network controls or a trusted listing such as Chainlist. Check the chain ID and RPC URL against a reliable source before saving or approving the network details.

Why does MetaMask show the wrong balance on a network?

First confirm the selected network and its chain ID. If they are correct, check which RPC URL that network uses, since MetaMask reads balances through the network’s RPC endpoint.

  • Use a switch prompt for a network already in MetaMask.
  • Verify the chain ID and RPC URL before adding a network.
  • Reload the bridge page and match MetaMask’s network name to the source chain.