logo

Theme:

Language:

logo

Icon BNB Smart Chain Mainnet networkBNB Smart Chain Mainnet

链号

56

货币符号

BNB

网站

https://www.bnbchain.org/en

封锁浏览器URL

https://bscscan.com

BNB Smart Chain Mainnet - RPC端点 列表
RPC端点添加到钱包
https://binance.llamarpc.com
https://bsc-dataseed.bnbchain.org
https://bsc-dataseed1.defibit.io
https://bsc-dataseed1.ninicoin.io
https://bsc-dataseed2.defibit.io
https://bsc-dataseed3.defibit.io
https://bsc-dataseed4.defibit.io
https://bsc-dataseed2.ninicoin.io
https://bsc-dataseed3.ninicoin.io
https://bsc-dataseed4.ninicoin.io
https://bsc-dataseed1.bnbchain.org
https://bsc-dataseed2.bnbchain.org
https://bsc-dataseed3.bnbchain.org
https://bsc-dataseed4.bnbchain.org
https://bsc-dataseed6.dict.life
https://rpc-bsc.48.club
https://koge-rpc-bsc.48.club
https://endpoints.omniatech.io/v1/bsc/mainnet/public
https://bsc-pokt.nodies.app
https://bsc-mainnet.nodereal.io/v1/64a9df0874fb4a93b9d0a3849de012d3
https://rpc.ankr.com/bsc
https://bscrpc.com
https://bsc.rpcgator.com
https://binance.nodereal.io
https://bsc-mainnet.rpcfast.com?api_key=xbhWBI1Wkguk8SNMu1bvvLurPGLXmgwYeC4S6g2H7WdwFigZSmPWVZRxrskEQwIf
https://nodes.vefinetwork.org/smartchain
https://1rpc.io/bnb
https://bsc.rpc.blxrbdn.com
https://bsc.blockpi.network/v1/rpc/public
https://bnb.api.onfinality.io/public
https://bsc.publicnode.com
wss://bsc.publicnode.com
https://bsc-mainnet.public.blastapi.io
https://bsc.meowrpc.com
https://api.zan.top/node/v1/bsc/mainnet/public
https://bsc.drpc.org
https://services.tokenview.io/vipapi/nodeservice/bsc?apikey=qVHq2o6jpaakcw3lRstl
wss://bsc-ws-node.nariox.org

如何使用 BNB Smart Chain Mainnet RPC端点

您可以使用 BNB Smart Chain Mainnet RPC端点 您可以使用以太坊主网的RPC端点URL与Web3库(如Ethers.js、Web3)或Web3钱包(如MetaMask、WalletConnect、WalletConnect)建立连接。这使您能够轻松地与区块链进行交互并使用去中心化应用程序。 BNB Smart Chain Mainnet

Web3库

web3js

   const Web3 = require('web3');

   // Replace 'YOUR_RPC_URL' with the BNB Smart Chain Mainnet RPC endpoint URL
   const rpcURL = https://binance.llamarpc.com;

   // Create a new Web3 instance using the RPC endpoint
   const web3 = new Web3(new Web3.providers.HttpProvider(rpcURL));

   // Now you can use the 'web3' object to interact with BNB Smart Chain Mainnet
   web3.eth.getBlockNumber()
      .then(blockNumber => {
         console.log('Latest block number:', blockNumber);
      })
      .catch(error => {
         console.error('Error:', error);
      });
   

ethersjs

   const ethers = require('ethers');

   // Replace 'YOUR_RPC_URL' with the BNB Smart Chain Mainnet RPC endpoint URL
   const rpcURL = https://binance.llamarpc.com;

   // Create a provider using the BNB Smart Chain Mainnet RPC endpoint
   const provider = new ethers.providers.JsonRpcProvider(rpcURL);

   // You can use the 'provider' object to interact with BNB Smart Chain Mainnet
   provider.getBlockNumber()
      .then(blockNumber => {
         console.log('Latest block number:', blockNumber);
      })
      .catch(error => {
         console.error('Error:', error);
      });
   

Web3钱包 (Metamask, WalletConnect, Coinbase Wallet, Taho...)

您可以使用 BNB Smart Chain Mainnet Web3库