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):

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.
Fix:

Q2: “Chain ID does not match” error

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

Q3: Transactions not sending or stuck in pending

Cause:Wrong network settings or RPC congestion.
Fix:

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

Fix:

My Pro Tips Box