BNB Smart Chain logo

BNB Smart Chain Mainnet

RPC Endpoints

Chain ID: 0x38 · BNB

Other BNB Smart Chain networks:TestnetopBNB MainnetopBNB Testnet
How to add BNB Smart Chain to MetaMask or other wallets

BNB Smart Chain Mainnet uses BNB as its native currency. Chain ID: 56 (0x38). Below are 9 public RPC endpoints you can use to connect wallets, dApps, and developer tools to BNB Smart Chain Mainnet.

StatusRPC EndpointChain IDCurrencyExplorerWallet
Checking
https://bsc.drpc.org
0x38BNBExplorer
Checking
https://bsc.meowrpc.com
0x38BNBExplorer
Checking
https://1rpc.io/bnb
0x38BNBExplorer
Checking
https://binance.nodereal.io
0x38BNBExplorer
Checking
https://bsc-dataseed.binance.org
0x38BNBExplorer
Checking
https://bsc-dataseed1.binance.org
0x38BNBExplorer
Checking
https://bsc-dataseed2.binance.org
0x38BNBExplorer
Checking
https://rpc.swiftnodes.io/rpc/bsc?key=demo
0x38BNBExplorer
Checking
https://bsc-mainnet.gateway.tatum.io
0x38BNBExplorer

Connect to BNB Smart Chain Mainnet with ethers.js

import { ethers } from "ethers";

const provider = new ethers.JsonRpcProvider("https://bsc.drpc.org");

const network = await provider.getNetwork();
console.log(network.chainId); // 56n

BNB Smart Chain Mainnet — common questions

What is the RPC URL for BNB Smart Chain Mainnet?
There are 9 public RPC endpoints for BNB Smart Chain Mainnet, including https://bsc.drpc.org. See the full list in the table above.
What is the Chain ID for BNB Smart Chain Mainnet?
The Chain ID for BNB Smart Chain Mainnet is 56 (0x38 in hexadecimal).
What is the native currency of BNB Smart Chain Mainnet?
The native currency of BNB Smart Chain Mainnet is BNB.
How do I add BNB Smart Chain Mainnet to MetaMask?
Use the "Add to Wallet" button on this page to add BNB Smart Chain Mainnet to MetaMask automatically, or follow our step-by-step guide for BNB Smart Chain.