BNB Smart Chain Mainnet
RPC EndpointsChain ID: 0x38 · BNB
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.
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); // 56nBNB 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.