How to Get a BNB Smart Chain (BSC) RPC Endpoint

BNB Smart Chain remains one of the most active blockchains for DeFi, trading bots, and dApp development. With block times under 3 seconds and significantly lower gas fees than Ethereum, BSC handles massive transaction volumes, and your RPC infrastructure needs to keep pace.

This guide walks you through setting up BSC RPC access with GetBlock, from free development endpoints to Accelerated Dedicated Nodes with private mempool support.

Step-by-Step: Get Your BSC RPC Endpoint

  1. Create a GetBlock Account

    Go to GetBlock Dashboard and sign up. You can register with email or via Google/GitHub OAuth.

  2. Create a BSC Endpoint

    Once logged in:

    1. Click "Shared Nodes" in the left sidebar
    2. Click "Create New Endpoint" or the "+" button
    1. Select:

      • Protocol: BSC
      • Network: Mainnet or Testnet
      • API Interface: JSON-RPC or Websocket or GraphQL or MEV-Protected(JSON-RPC) or MEV-Protected(Websocket)
      • Region: Frankfurt (EU) or Singapore or New York
    1. Click "Create": Your endpoint URL will be generated immediately.
  3. Copy Your Endpoint URL

    Your endpoint URL looks like this:

    bashhttps://shared.<region>.getblock.io/<ACCESS-TOKEN>/

    <region> is eu-central-1 (Frankfurt), us-east-1 (New York), or ap-southeast-1 (Singapore) — whichever you picked in step 2.

    The long string after the host is your access token — keep it private.

  4. Test the Connection

    bashcurl -X POST https://shared.eu-central-1.getblock.io/<YOUR-ACCESS-TOKEN>/ \
      -H "Content-Type: application/json" \
      -d '{
      "jsonrpc":"2.0",
      "method":"eth_chainId",
      "params":[],
      "id":1
      }'
    bash{
       "jsonrpc":"2.0",
        "id":1,
        "result":"0x38"
     }

Code Examples

bash# Get USDT balance on BSC using eth_call
curl -X POST https://shared.eu-central-1.getblock.io/<YOUR-ACCESS-TOKEN>/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_call",
    "params": [{
      "to": "0x55d398326f99059fF775485246999027B3197955",
      "data": "0x70a08231000000000000000000000000YOUR_ADDRESS_WITHOUT_0x"
    }, "latest"],
    "id": "getblock.io"
  }'
javascriptimport { JsonRpcProvider, formatEther } from "ethers";

const provider = new JsonRpcProvider(
  "https://shared.eu-central-1.getblock.io/<YOUR-ACCESS-TOKEN>/"
);

// Get BNB balance
const balance = await provider.getBalance("0x8894E0a0c962CB723c1ef41B18a7bb7E76FB4675");
console.log(`Balance: ${formatEther(balance)} BNB`);

// Get gas price
const gasPrice = await provider.getFeeData();
console.log(`Gas price: ${gasPrice.gasPrice} wei`);

// Read a BEP-20 token balance (e.g., USDT on BSC)
const usdtContract = new Contract(
  "0x55d398326f99059fF775485246999027B3197955", // BSC USDT
  ["function balanceOf(address) view returns (uint256)"],
  provider
);
const tokenBalance = await usdtContract.balanceOf("0x...");
pythonfrom web3 import Web3

w3 = Web3(Web3.HTTPProvider("https://shared.eu-central-1.getblock.io/<YOUR-ACCESS-TOKEN>/"))

print("Connected:", w3.is_connected())
print("Chain ID:", w3.eth.chain_id)  # 56 for BSC Mainnet
print("Latest block:", w3.eth.block_number)

# Get BNB balance
balance = w3.eth.get_balance("0x8894E0a0c962CB723c1ef41B18a7bb7E76FB4675")
print(f"Balance: {w3.from_wei(balance, 'ether')} BNB")

Connect MetaMask to BSC via GetBlock

  1. Open MetaMask → Add Network → Add manually
  2. Enter:
    • Network Name: BSC Mainnet (GetBlock)
    • RPC URL: https://shared.eu-central-1.getblock.io/<YOUR-ACCESS-TOKEN>/
    • Chain ID: 56
    • Symbol: BNB
    • Explorer: https://bscscan.com
  3. Save

Public BSC RPC vs GetBlock

FeaturePublic RPCGetBlock
Rate limitsHeavy throttlingUp to 500 RPS
UptimeNo guarantee99.9%+ SLA
Trace/Debug methodsNot availableAvailable (Starter+)
Archive dataLimitedFull history
Private mempoolNoAvailable (Accelerated Dedicated)
MEV protectionNoneVia BloXroute BDN integration
WebSocketUnreliablePersistent connections

BSC Advanced Tooling — Exclusive to GetBlock

Accelerated Dedicated Node

GetBlock offers BSC-specific infrastructure with an integrated BloXroute BDN (Blockchain Distribution Network):

Private Mempool Submission

Submit transactions to a private mempool, bypassing the public mempool entirely:

  • MEV protection — your transactions aren't visible to sandwich bots
  • Higher landing rate — direct submission to block producers
  • Priority fee support — set custom priority fees for faster inclusion

How to Submit to Private Mempool

Bundle Support (Multicall3)

Execute multiple transactions atomically:

  • All-or-nothing execution
  • MEV-resistant operations
  • Complex DeFi strategies in a single block

How to Use Bundles

Stream Subscription

Subscribe to real-time BSC data streams:

  • New pending transactions
  • New blocks
  • Transaction receipts

How to Subscribe to Streams

Choosing Your Plan

Use CasePlanKey Benefit
Development & testingFree50K CU/day
Production dAppStarter ($49/mo)100 RPS, trace/debug
DeFi protocolAdvanced ($199/mo)300 RPS, archive
Trading bot / DEXDedicated (from $1,000/mo)Unlimited, private mempool
HFT / MEVAccelerated Dedicated (custom)BloXroute BDN, bundles

What's Next?

Need high-performance BSC infrastructure for trading or DeFi? Contact us to discuss Accelerated Dedicated Nodes with private mempool and bundle support.