opBNB RPC Endpoint
Fast, flat-rate opBNB RPC node provider — free tier, no KYC, HTTP & WebSocket.
opBNB is a Layer 2 scaling network for BNB Smart Chain built on the Optimism OP Stack (Bedrock). It uses BNB as its gas token and is tuned for high throughput and low fees.
opbnbAbout opBNB
opBNB was developed by the BNB Chain team and launched its mainnet in 2023 as an optimistic rollup that settles to BNB Smart Chain. It is built on the OP Stack with optimizations aimed at higher gas limits and throughput than a default OP Stack deployment.
The network is EVM-compatible and uses BNB for gas, so standard Ethereum tooling such as Hardhat, Foundry, ethers.js, and viem applies directly. opBNB targets a roughly 1-second block time and very low transaction fees, making it suited to gaming, social, and high-frequency dApps. As an optimistic rollup it carries a 7-day challenge window for withdrawals back to BNB Smart Chain.
Common Use Cases on opBNB
- Low-fee EVM transactions
- On-chain gaming
- SocialFi applications
- High-frequency dApps
- DeFi protocols
- NFT minting
opBNB Ecosystem
opBNB hosts DeFi and infrastructure projects within the BNB Chain ecosystem, including deployments from PancakeSwap and tooling from providers such as Pyth and the BNB Greenfield stack.
HTTP Endpoint
https://rpc.swiftnodes.io/rpc/opbnb?key=YOUR_API_KEYWebSocket Endpoint
wss://rpc.swiftnodes.io/ws/opbnb?key=YOUR_API_KEYQuick Start: Connect to opBNB
cURL
curl -X POST https://rpc.swiftnodes.io/rpc/opbnb?key=YOUR_API_KEY \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'ethers.js
import { JsonRpcProvider } from "ethers";
const provider = new JsonRpcProvider(
"https://rpc.swiftnodes.io/rpc/opbnb?key=YOUR_API_KEY"
);
const blockNumber = await provider.getBlockNumber();
console.log("opBNB block:", blockNumber);viem
import { createPublicClient, http } from "viem";
const client = createPublicClient({
transport: http("https://rpc.swiftnodes.io/rpc/opbnb?key=YOUR_API_KEY"),
});
const blockNumber = await client.getBlockNumber();web3.py
from web3 import Web3
w3 = Web3(Web3.HTTPProvider("https://rpc.swiftnodes.io/rpc/opbnb?key=YOUR_API_KEY"))
print("opBNB block:", w3.eth.block_number)Add opBNB to MetaMask
https://rpc.swiftnodes.io/rpc/opbnb?key=YOUR_API_KEYwss://rpc.swiftnodes.io/ws/opbnb?key=YOUR_API_KEYBridging to opBNB
Assets bridge through the opBNB canonical bridge from BNB Smart Chain, with additional routes via Celer cBridge and other third-party bridges.
Features of SwiftNodes for opBNB
- Multiple load-balanced upstream nodes for high availability
- Health-checked every 60 seconds with automatic failover
- Free tier available — no credit card or KYC required
- Flat-rate monthly pricing with no per-request fees
- HTTP and WebSocket support
- One API key works across all 75+ supported chains, including opBNB
Rate Limits
| Plan | Price | HTTP req/s | WS msg/s |
|---|---|---|---|
| Free | $0/mo | 2 | 1 |
| Starter | $49/mo | 50 | 25 |
| Growth | $89/mo | 150 | 75 |
| Scale | $149/mo | 300 | 150 |
| Pro | $249/mo | 500 | 250 |
Frequently Asked Questions: opBNB
What's opBNB's chain ID?
opBNB mainnet is chain ID 204.
What token is used for gas on opBNB?
Gas on opBNB is paid in BNB.
Is opBNB an optimistic rollup?
Yes - opBNB is built on the Optimism OP Stack (Bedrock) as an optimistic rollup that settles to BNB Smart Chain.
Is WebSocket supported?
Yes - SwiftNodes provides HTTP and WebSocket (wss://) endpoints for opBNB.
Ready to start building on opBNB? Connect your wallet and get a free API key in 30 seconds. No email or KYC required.