B2 Network RPC Endpoint

Flat-rate B2 Network RPC provider and B2 Network RPC node access: free tier, no KYC, HTTP. B2 Network mainnet chain ID 223.

B2 Network mainnet RPC URL: https://rpc.swiftnodes.io/rpc/bsquared?key=YOUR_API_KEY

B² Network (BSquared) is a Bitcoin Layer 2 with an EVM-compatible rollup layer. BTC is the gas token, and a separate B² Hub layer anchors rollup data on Bitcoin.

Network: B2 Network
Type: EVM
Chain ID: 223
Slug: bsquared
Native token: BTC (Bitcoin)
Block time: ~2.0 seconds (measured)
Finality: ~14 minutes to the finalized tag (measured)
Mainnet: April 2024
Category: Bitcoin Layer 2

B2 Network on the SwiftNodes fleet, right now

Status: online
Latency: 90 ms
Latest block: 39,183,924
WebSocket: not available

7 of 12 probed RPC methods supported (batch, debug_traceCall, eth_getProof, eth_getBlockReceipts). The gaps are listed per chain in the method support matrix.

Status and latency from our health checks, refreshed about every 5 minutes. Uptime history. Method support probed automatically on 2026-10-04. Network status

B2 Network developer facts, measured

Block time:
~2 s (average of the last 1,000 blocks)
Finality:
the finalized tag trails the head by ~405 blocks (~14 min)
eth_getLogs range:
1,000-block ranges accepted; the next size we test was refused
Historical state:
readable at least 1,000,000 blocks back

Measured 2026-10-04 through this page's endpoint, re-measured weekly. Limits can differ between the upstream nodes behind it. All chains: measured chain facts.

About B2 Network

B² Mainnet launched in April 2024. Its design has two layers: the B² Rollup, an EVM-compatible ZK rollup that runs smart contracts, and the B² Hub, which provides data availability and settlement on Bitcoin and writes rollup data to Bitcoin using Taproot scripts.

Developers deploy with standard EVM tooling on chain ID 223. Native balances are denominated in BTC with 18 decimals. Users bridge BTC from Bitcoin, and account abstraction links EVM addresses to Bitcoin addresses, which affects how wallets and indexers attribute activity.

Common Use Cases on B2 Network

  • EVM DeFi using BTC as the native asset
  • Bridging BTC from Bitcoin mainnet
  • Bitcoin-anchored applications
  • Payment and settlement apps

B2 Network Mainnet RPC URL (HTTP)

https://rpc.swiftnodes.io/rpc/bsquared?key=YOUR_API_KEY

B2 Network WebSocket RPC URL

Not available for B2 Network right now: none of its upstreams currently accepts a subscription in our health checks. Poll the HTTP endpoint above instead.

Quick Start: Connect to B2 Network

cURL

curl -X POST https://rpc.swiftnodes.io/rpc/bsquared?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/bsquared?key=YOUR_API_KEY"
);

const blockNumber = await provider.getBlockNumber();
console.log("B2 Network block:", blockNumber);

viem

import { createPublicClient, http } from "viem";

const client = createPublicClient({
  transport: http("https://rpc.swiftnodes.io/rpc/bsquared?key=YOUR_API_KEY"),
});

const blockNumber = await client.getBlockNumber();

web3.py

from web3 import Web3

w3 = Web3(Web3.HTTPProvider("https://rpc.swiftnodes.io/rpc/bsquared?key=YOUR_API_KEY"))
print("B2 Network block:", w3.eth.block_number)

Add B2 Network to MetaMask

Network Name: B2 Network (SwiftNodes)
RPC URL: https://rpc.swiftnodes.io/rpc/bsquared?key=YOUR_API_KEY
Chain ID: 223
Currency Symbol: BTC

Features of SwiftNodes for B2 Network

  • Load-balanced across multiple upstream nodes wherever a chain has more than one, with automatic failover
  • Health-checked every 2 minutes with automatic failover
  • Free tier available — no credit card or KYC required
  • Flat-rate monthly pricing with no per-request fees
  • HTTP support (WebSocket not available for this chain right now)
  • One API key works across all 75+ supported chains, including B2 Network

Rate Limits

PlanPriceHTTP req/sWS msg/s
Free$0/mo21
Starter$49/mo5025
Growth$89/mo15075
Scale$149/mo300150
Pro$249/mo500250

Frequently Asked Questions: B2 Network

What is the B2 Network chain ID?

The B2 Network chain ID is 223 (0xdf in hex).

What is the gas token on B² Network?

BTC, with 18 decimals on the EVM side, bridged from Bitcoin mainnet.

How does B² Network settle to Bitcoin?

The B² Rollup batches transactions and submits proofs to the B² Hub, which writes rollup data to Bitcoin using Taproot.

Related L2 & rollup chains

Explore RPC endpoints for other L2 & rollup networks on SwiftNodes:

Ready to start building on B2 Network? Connect your wallet and get a free API key in 30 seconds. No email or KYC required.