New Here? Claim Your 30% Discount on Your First Blockchain Node Access!

banner image

Last updated on October 23, 2023

2 min read

How to connect to GetBlock with MetaMask

MetaMask is a browser extension that serves as an Ethereum wallet and enables you to run Ethereum dApps in a browser without running a full Ethereum node. It’s supported in Chrome, Brave, and Safari browsers.

To get started with MetaMask, you will need to install its extension for your smartphone or browser at https://metamask.io/download. For Opera browser you can use “Install Chrome extensions” official add-on to install MetaMask from Chrome webstore.

Setup your wallet if you haven't done it yet.

To add Custom RPC Network click on the current network.

screenshot 1

Then click on the Custom RPC button.

screenshot 2

After this fill in the following fields:

  • Network name – call it whatever you want;
  • New RPC URL – https://go.getblock.io/<ACCESS_TOKEN>/;
  • Chain ID – you can get Chain ID with this curl command:
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' \
--header 'Content-Type: application/json' \
--data-raw '{
  "jsonrpc": "2.0",
  "method": "eth_chainId",
  "params": [],
  "id": "getblock.io"
}'
  • Currency Symbol – optional;
  • Block Explorer – optional.

Then click on the Save button

screenshot 3

Custom network will be added and selected as default.