Open app

NexFlow › Library › opBNB RPC endpoint guide

opBNB RPC endpoint: reading a four-blocks-a-second L2

opBNB is BNB Chain's OP Stack rollup, and it settles to BNB Smart Chain instead of Ethereum. It produces a block every quarter second, carries fees small enough that the base fee can read zero, and reaches finality in seconds. Those three facts reshape polling, fee display and confirmation logic. Here is a working endpoint and what our reads showed.

7 min read · updated 2026-09-27 · infra guide, not financial advice

The endpoint is https://nexflowscan.com/api/rpc/opbnb. It takes Ethereum JSON-RPC over HTTPS POST, requires no key for baseline reads, and spreads calls over four keyless upstreams, one of which is BNB Chain's own opbnb-mainnet-rpc.bnbchain.org. When an upstream errors or lags, the relay hands the call to the next.

BNB Chain's documentation describes opBNB as the Layer 2 network of BNB Smart Chain and as based on the OP Stack. Its Network Information page gives the wallet constants: chain ID 204 for mainnet and 5611 for testnet, BNB as the currency, and explorers at opbnbscan.com and opbnb.bscscan.com. BNB as the gas token is the first thing to internalize: an address with ETH but no BNB on opBNB cannot pay for anything.

Two calls to prove the endpoint

A chain-ID check catches the most common opBNB mistake — pointing at testnet 5611 or at BNB Smart Chain itself, which uses a different ID — and a block-number call confirms the node is live.

opBNB mainnet from curl

Free lane, no key. The responses are what our relay returned on 2026-09-27.

curl -s -X POST https://nexflowscan.com/api/rpc/opbnb \
  -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}'
# {"jsonrpc":"2.0","result":"0xcc","id":1}

curl -s -X POST https://nexflowscan.com/api/rpc/opbnb \
  -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'
# {"jsonrpc":"2.0","result":"0xb4e6b8f","id":1}

0xcc is 204. 0xb4e6b8f is block 189,688,719 — a height far above most EVM chains of similar age, and the direct result of the block rate. Run the second call twice a second apart and the number will have moved by about four.

0.25-second blocks and what they do to your client

BNB Chain's opBNB Metrics page lists a block time of 0.25 seconds for opBNB, compared with 0.45 seconds for BNB Smart Chain and 12 seconds for Ethereum. Our reads matched it exactly: block timestamps averaged 0.250 seconds apart over both the last 1,000 and the last 10,000 blocks. That is 240 blocks a minute and 345,600 a day.

Three habits from slower chains break at that rate.

Block-by-block polling. A loop that fetches every new block with eth_getBlockByNumber makes four requests a second before it does any real work — 240 items a minute, most of the free lane's budget. Poll on a timer instead and fetch ranges, or use eth_getLogs with a block window to pull only the events you care about.

Wide log ranges. A "last hour" query on opBNB spans 14,400 blocks. Size log windows in blocks with the rate in mind, and page through them rather than asking for a day at once.

Timestamp precision. Block timestamps are whole seconds, so four consecutive blocks can share a timestamp. Never use the timestamp as a unique ordering key; use the block number and the log index.

Finality in seconds: safe equals finalized

On Ethereum-settled OP Stack chains the safe and finalized tags are usually minutes apart, because finalized waits for Ethereum's own finality. opBNB posts its data to BNB Smart Chain, and in our read on 2026-09-27 the two tags were identical:

TagBlockBehind latest
latest189,688,160—
safe189,688,07585 blocks, about 21 seconds
finalized189,688,07585 blocks, about 21 seconds

Twenty-odd seconds from sequencing to a finalized tag is fast enough that there is little reason for a payment or deposit flow to act on latest. Wait for finalized; the user will barely notice. Withdrawals from opBNB back to BNB Smart Chain are a separate matter governed by the rollup's bridge rules — the finalized tag describes the L2 chain's own state, not when a withdrawal can be claimed on the other side.

opBNB confirmation rule: credit on finalized, display on latest, and measure waits in seconds, not blocks. With four blocks a second, "wait 12 confirmations" means three seconds — probably not what the person who wrote it intended.

Fees: a zero base fee and a BSC-priced data cost

The opBNB Metrics page publishes the fee-market parameters that differ from Optimism's: a block gas limit of 100,000,000 gas and a target of 50,000,000, an EIP-1559 elasticity multiplier of 2, a denominator of 8, and a maximum base fee increase of 12.5% per block. The latest block header we read agreed on the limit, reporting 100,000,000.

The same header reported a base fee of 0 wei. eth_gasPrice returned 1,000,000 wei and eth_maxPriorityFeePerGas the same, so the whole L2 execution price in that moment was the tip. That is a single reading and the base fee will rise under load, but it shows why fee displays need care here: formatted in gwei, the answer is 0.001, and a two-decimal display shows zero.

The data-availability component is priced against BNB Smart Chain, not Ethereum. opBNB keeps the OP Stack gas price oracle predeploy at 0x420000000000000000000000000000000000000F; through our relay, its version() returned "1.3.0" and l1BaseFee() returned 52,000,000 wei — the settlement-layer base fee as the rollup sees it. For comparison, the same call on Mode, an Ethereum-settled OP Stack chain, returned about 1,003,737,256 wei in the same session. Read the oracle when you need the full cost of a transaction.

We also tried the standard eth_blobBaseFee method. The upstream that took the call answered with its own usage-limit message, which the relay passed through. The method adds little on a chain whose settlement layer is BSC; skip it and read the oracle.

Relay scope on opBNB

Forwarded: balance and nonce reads, eth_call including calls to predeploys, eth_getLogs, blocks with every standard tag, receipts, eth_estimateGas, eth_feeHistory, filters, and identity methods. Refused: signing and node-internal methods. eth_sign and txpool_content both came back -32601, "Method not allowed on this relay", and the opBNB lane page states that sends and signs are refused on the public lane. A game or social app on opBNB that sends many small transactions should sign in its own wallet service and broadcast through infrastructure it controls.

Because an upstream's own error text can occasionally surface, as with the blob-fee call above, write clients that retry once on an upstream error before treating a read as failed.

Picking a lane for opBNB traffic

Our relay, as of 2026-09-27, serves opBNB through three lanes with the same upstreams and method list:

LaneHowCapacity and price
Free baselinenexflowscan.com/api/rpc/opbnbthe first 50 calls per IP, at up to 300 items per minute in batches of 25 — then the paid lanes
Keyedrk1_ key sent as x-api-key3,000 items per minute, batches of 100; $25 one payment in USDC on Solana or Base — the key does not expire
x402rpc.nexflowscan.com/api/v1/x402/rpc/opbnb$0.002 per call; batches of up to 10 per paid request

Given the block rate, opBNB is the chain where the free lane runs out fastest for anything that follows the tip; the relay signals it with HTTP 402. A keyed lane, bought through the checkout flow described on the integration page, is the fit for an indexer or a game backend. The x402 lane suits an agent that checks a balance or a contract now and then and should pay only for those calls.

Frequently asked

What is the opBNB chain ID?

opBNB mainnet is chain ID 204, returned by eth_chainId as 0xcc; the testnet is 5611. BNB Chain's Network Information page lists both, with BNB as the currency. Our relay returned 0xcc on 2026-09-27.

What is opBNB's block time?

0.25 seconds, per BNB Chain's opBNB Metrics page. Our reads matched: timestamps averaged 0.250 seconds apart over the last 10,000 blocks, which is 240 blocks per minute.

How fast is finality on opBNB?

In our reads on 2026-09-27 the safe and finalized tags pointed to the same block, 85 blocks — about 21 seconds — behind the latest block. That is much faster than Ethereum-settled OP Stack chains, where finalized usually trails by many minutes.

Why is the opBNB base fee zero?

The latest block we read reported a base fee of 0 wei, with eth_gasPrice at 1,000,000 wei — the tip alone. The base fee rises under load according to the EIP-1559 parameters on the opBNB Metrics page, so treat zero as a snapshot, not a constant.

What token pays gas on opBNB?

BNB. An address needs BNB on opBNB itself to send transactions; ETH or BNB held on another chain does not count until it is bridged.

NexFlow is an educational risk tool, not financial advice. On-chain data can be incomplete or manipulated; a clean check is a dated snapshot, not a guarantee. Always do your own research. Free · no signup · a NexFlow product