How to Add a Blockchain Network to MetaMask Using RPC URLs

Learn to to add a blockchain network to MetaMask with the help of RPC URLs from GetBlock.


This content originally appeared on HackerNoon and was authored by Dog

\ Hi! Today, I want to tell you how to add a blockchain network to MetaMask with the help of RPC URLs from GetBlock. Let`s start!

\

Open MetaMask and navigate to network settings. In the MetaMask extension (or phone app), click the network selector (top-left) and select "Add Network" (or "Add Network Manually" under Custom Networks). This displays a form to enter the network details.

Enter network details. MetaMask will ask for Network Name, New RPC URL, Chain ID, Currency Symbol, and (optional) a Block Explorer URL. For example, Ethereum Mainnet has Chain ID 1, symbol ETH, and explorer etherscan.io. Always double-check these values (through official docs or pages like Chainlist) before saving.

Save the network. After filling in all fields, click "Save" (or "Add") to add the network to MetaMask. MetaMask may prompt you to confirm; check that the values match the intended network. Now that you have saved, the new network will appear in your network dropdown list.

Acquiring a GetBlock RPC Endpoint

Sign up to GetBlock. Sign up to a free account on account. Only an email address is required, and you can use several access tokens (API keys) with the free plan.

Set up an endpoint. Go to My Endpoints in the GetBlock dashboard and set up a new endpoint: select the blockchain (e.g. Ethereum, BNB Smart Chain, Polygon (Matic), etc.) and network (Mainnet or Testnet) and click "Get" or "Create". This generates a private RPC URL tied to your access token. For example, a BNB Chain endpoint could be https://go.getblock.io/0b19d0cdf1af437da8adc7aa3bexxxxx. Store this URL.

Pay attention to request quotas. GetBlock's free tier now has about 50,000 requests per day (about 40,000–50,000 depending on the network) with a max of 5 requests per second. This should be sufficient for individual usage. (Above free quotas, there are paid alternatives.) Only use the URL of your account (your API token is included) as the RPC URL in MetaMask.

Never make your token public. After getting the RPC URL from GetBlock, paste it into MetaMask's "New RPC URL" field (step 2 above). You now have MetaMask set up on GetBlock's node.

Example Configurations

Below are sample network configurations using GetBlock’s RPC endpoints. In each case, the New RPC URL is the URL you obtained from your GetBlock dashboard (replace <Your_Access_Token> with your actual token):

  • Ethereum Mainnet:
  • RPC URL: https://go.getblock.io/<Your_Access_Token>
  • Chain ID: 1
  • Currency: ETH
  • Explorer: https://etherscan.io
  • BNB Smart Chain (Mainnet):
  • RPC URL: https://go.getblock.io/<Your_Access_Token>
  • Chain ID: 56
  • Currency: BNB
  • Explorer: https://bscscan.com
  • Polygon (PoS Mainnet):
  • RPC URL: https://go.getblock.io/<Your_Access_Token>
  • Chain ID: 137
  • Currency: POL (formerly MATIC)
  • Explorer: https://polygonscan.com

Network names in MetaMask can be any string, e.g. “Ethereum via GetBlock”, but chain ID, symbol and explorer should match official values.

Troubleshooting FAQ

Q1: "Invalid RPC URL" error

Cause: URL is mistyped or incomplete. \n Fix:

  • Make sure the URL starts with https:// and is copied correctly from your GetBlock dashboard.
  • Ensure you selected the correct blockchain (e.g., Ethereum Mainnet, BNB Smart Chain).

Q2: “Chain ID does not match” error

Cause: The Chain ID you entered doesn’t match the one returned by the RPC. \n Fix:

  • Double-check the official Chain ID for your selected network.
  • Example: Ethereum Mainnet = 1, BNB Smart Chain = 56, Polygon = 137.

Q3: Transactions not sending or stuck in pending

Cause: Wrong network settings or RPC congestion. \n Fix:

  • Re-check the network name, RPC, and Chain ID.
  • Try resetting your MetaMask account under Settings > Advanced.

Q4: MetaMask won’t connect to dApp after switching RPC

Fix:

  • Refresh the dApp site and reconnect.
  • Clear browser cache or try incognito mode.

My Pro Tips Box

  • Always verify the Chain ID before saving the network. A mismatch will prevent MetaMask from working properly.
  • Use https:// RPC endpoints unless your app explicitly needs WebSockets (wss://).
  • Bookmark the GetBlock dashboard to quickly access and rotate RPC keys.
  • Label networks clearly in MetaMask so you don’t confuse testnets and mainnets.
  • Consider upgrading to a dedicated plan on GetBlock if your dApp scales — this avoids rate limits.

\


This content originally appeared on HackerNoon and was authored by Dog


Print Share Comment Cite Upload Translate Updates
APA

Dog | Sciencx (2025-06-10T19:28:59+00:00) How to Add a Blockchain Network to MetaMask Using RPC URLs. Retrieved from https://www.scien.cx/2025/06/10/how-to-add-a-blockchain-network-to-metamask-using-rpc-urls/

MLA
" » How to Add a Blockchain Network to MetaMask Using RPC URLs." Dog | Sciencx - Tuesday June 10, 2025, https://www.scien.cx/2025/06/10/how-to-add-a-blockchain-network-to-metamask-using-rpc-urls/
HARVARD
Dog | Sciencx Tuesday June 10, 2025 » How to Add a Blockchain Network to MetaMask Using RPC URLs., viewed ,<https://www.scien.cx/2025/06/10/how-to-add-a-blockchain-network-to-metamask-using-rpc-urls/>
VANCOUVER
Dog | Sciencx - » How to Add a Blockchain Network to MetaMask Using RPC URLs. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/06/10/how-to-add-a-blockchain-network-to-metamask-using-rpc-urls/
CHICAGO
" » How to Add a Blockchain Network to MetaMask Using RPC URLs." Dog | Sciencx - Accessed . https://www.scien.cx/2025/06/10/how-to-add-a-blockchain-network-to-metamask-using-rpc-urls/
IEEE
" » How to Add a Blockchain Network to MetaMask Using RPC URLs." Dog | Sciencx [Online]. Available: https://www.scien.cx/2025/06/10/how-to-add-a-blockchain-network-to-metamask-using-rpc-urls/. [Accessed: ]
rf:citation
» How to Add a Blockchain Network to MetaMask Using RPC URLs | Dog | Sciencx | https://www.scien.cx/2025/06/10/how-to-add-a-blockchain-network-to-metamask-using-rpc-urls/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.