What is a custom RPC? How do I add a network to MetaMask?

Everything you need to know about RPCs!


In this article:


What is a Remote Procedure Call (RPC)?

If you've ever sent tokens on the wrong network, you'll need the original network's RPC in order to recover them.

You can't use RPCs in Exodus, but with a wallet like MetaMask, you can connect to custom networks to see your tokens in MetaMask using RPCs.

The acronym RPC stands for Remote Procedure Call. RPCs allow communications with servers remotely and provide the ability to execute programs in a separate location. In blockchain terms, an RPC allows access to a server node on the specified network and allows you to communicate and interact with that blockchain.

Please note: RPC data can often be found in the network's official development documents.


Why do we need RPCs?

In order to interact with a blockchain, we need a way to access the network servers through a suitable and generic option to perform operations like viewing a balance, creating a transaction, or interacting with a smart contract. RPCs are what give us the ability to establish that connection with the servers.

When a developer creates a decentralized application (dApp) with RPC capabilities, a user will then be able to perform requests and interact with the blockchain. For example, if you've ever used a decentralized exchange (DEX) by connecting a wallet, like MetaMask, your connection and communications are being routed through an RPC to communicate with a blockchain server.


How do I connect to an RPC using MetaMask?

To connect to a custom network using compatible RPC data, we recommend using the MetaMask wallet. You can connect to a custom network by following these steps:

1
Go to MetaMask's website and download the MetaMask wallet.
2
After installing and securing your 12-word secret recovery phrase, a) click on Ethereum Mainnet at the top of the MetaMask wallet screen and b) select Add Network.

3
Your browser will open a new tab in which you can copy and paste the details of the custom network (we'll use the Polygon network as an example):
a) Network Name: Polygon mainnet
b) RPC: https://polygon-rpc.com/
c) ChainID: 137
d) Symbol: MATIC
e) Block Explorer: https://explorer.matic.network

4
After successfully connecting to the Polygon mainnet, your MetaMask wallet will display both a) the new network, and b) the native asset:

We've gathered a list of RPC network data points for your reference, should you ever need to connect to one of these nodes in the future.

List of RPCs

RPC data points you can use to connect to different networks.

Polygon (MATIC)

Network name: Polygon mainnet
RPC: https://polygon-rpc.com/
Chain ID: 137
Symbol: MATIC
Block explorer: https://explorer.matic.network/

BNB Smart Chain

Network Name: BNB Smart Chain
RPC: https://bsc-dataseed.binance.org/
Chain ID: 56
Symbol: BNB
Block Explorer: https://bscscan.com

Songbird

Network Name: Songbird mainnet
RPC: https://songbird.towolabs.com/rpc
Chain ID: 19
Symbol: SGB
Block Explorer: https://songbird-explorer.flare.network/

Avalance

Network Name: Avalanche C Chain
RPC: https://api.avax.network/ext/bc/C/rpc
Chain ID: 43114
Symbol: AVAX
Block Explorer: https://snowtrace.io

Fantom

Network Name: Fantom Opera mainnet
RPC: https://rpc.ftm.tools/
Chain ID: 250
Symbol: FTM
Block Explorer: https://ftmscan.com

Harmony

Network Name: Harmony mainnet
RPC: https://api.harmony.one/
Chain ID: 1666600000
Symbol: ONE
Block Explorer: https://explorer.harmony.one

Huobi Eco Chain

Network Name: HECO mainnet
RPC: https://http-mainnet.hecochain.com
Chain ID: 128
Symbol: HT
Block Explorer: https://scan.hecochain.com/

Kucoin Chain

Network Name: KCC mainnet
RPC: https://rpc-mainnet.kcc.network
Chain ID: 321
Symbol: KCS
Block Explorer: https://scan.kcc.network

Crypto.com Cronos Chain

Network Name: Cronos mainnet
RPC: https://evm-cronos.crypto.org
Chain ID: 25
Symbol: CRO
Block Explorer: https://cronos.crypto.org/explorer/

OKEx Chain

Network Name: OKEx Chain mainnet
RPC: https://exchainrpc.okex.org
Chain ID: 66
Symbol: OKT
Block Explorer: https://www.oklink.com/okexchain

xDai

Network Name: xDai mainnet
RPC: https://rpc.xdaichain.com/
Chain ID: 100
Symbol: XDAI
Block Explorer: https://blockscout.com/xdai/mainnet/

Energy Web Chain

Network Name: Energy Web Chain
RPC: https://rpc.energyweb.org/
Chain ID: 246
Symbol: EWT
Block Explorer: https://explorer.energyweb.org/

Arbitrum

Network Name: Arbitrum One
RPC: https://arb1.arbitrum.io/rpc
Chain ID: 42161
Symbol: ETH
Block Explorer: https://arbiscan.io/

XinFin

Network Name: XinFin mainnet
RPC: https://rpc.xinfin.network
Chain ID: 50
Symbol: XDC
Block Explorer: https://explorer.xinfin.network/

Celo

Network Name: Celo mainnet
RPC: https://forno.celo.org
Chain ID: 42220
Symbol: CELO
Block Explorer: https://explorer.celo.org
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.