Web3API
HomeAPI EndpointsContactTwitter
  • ​🚀 Welcome to Web3API
  • Introduction
    • ✨Getting Started
    • 📡 Choosing A Network
  • Developers
    • 🔌API Endpoints
      • eth_hashrate
      • eth_gasPrice
      • eth_blockNumber
      • eth_getBalance
      • eth_getStorageAt
      • eth_getTransactionCount
      • eth_getBlockTransactionCountByHash
      • eth_getBlockTransactionCountByNumber
      • eth_getCode
      • eth_sendRawTransaction
      • eth_call
      • eth_getBlockByHash
      • eth_getBlockByNumber
      • eth_getTransactionByHash
      • eth_getTransactionByBlockHashAndIndex
      • eth_getTransactionByBlockNumberAndIndex
      • eth_getTransactionReceipt
      • eth_getUncleByBlockHashAndIndex
      • eth_getUncleByBlockNumberAndIndex
      • eth_getUncleCountByBlockHash
      • eth_getUncleCountByBlockNumber
      • eth_estimateGas
      • eth_syncing
    • 😟API Errors and Troubleshooting
  • Tutorials
    • ⚡Adding a Custom RPC to Metamask
  • Dashboard
    • 🔑Forgot Password
  • Resources
    • ❓ FAQ
    • 🤝 Support
Powered by GitBook
On this page
  • MetaMask Browser Extension
  • 1. Adding a Custom RPC
  • 2. Configuring the Network
  • 3. Start Exploring!

Was this helpful?

  1. Tutorials

Adding a Custom RPC to Metamask

Configuring MetaMask to use the Binance Smart Chain network.

PreviousAPI Errors and TroubleshootingNextForgot Password

Last updated 3 years ago

Was this helpful?

MetaMask Browser Extension

Get MetaMask wallet

MetaMask is a popular cryptocurrency wallet, available as a browser extension or mobile app that can be used to connect to various blockchains such as Ethereum and Binance Smart Chain.

With MetaMask, you can interact with the vast world of dApps on each blockchain including decentralized exchanges (DEX), lending protocols, gaming platforms and NFT marketplaces.

By default, MetaMask is configured to connect to the Ethereum blockchain, but this can be changed to connect to Binance Smart Chain in a few simple steps.

1. Adding a Custom RPC

At the top centre of MetaMask's home page, you will see the current network you are currently connected to. By default, it is set to point to the main Ethereum network.

Click on the Ethereum Mainnet dropdown, and you should be presented with a set of other Ethereum testnet options. To add a new network however, select Custom RPC.

2. Configuring the Network

A new Window to input a Custom Network should open up. Fill in the following details in their respective fields.

  • Network name : BSC Mainnet (or anything you'd like to call it)

  • New RPC URL : https://bsc-<network>.web3api.com/v1/YOUR-API-KEY

  • Chain ID : 56

  • Currency Symbol : BNB

  • Block Explorer URL : https://bscscan.com/

3. Start Exploring!

Upon clicking on Save, you should see your network selection has changed to BSC mainnet. You can now view your balance, send transactions and interact with dApps built on the Binance Smart Chain.

You can switch back to the Ethereum blockchain at anytime by clicking on the network dropdown, and selecting Ethereum Mainnet.

Replace Chain ID with 56 for BSC's mainnet and 97 for BSC's testnet. For more info on which network to choose, please check out our guide on

⚡
Choosing A Network.
here.