Bitlayer RPC Endpoint

Flat-rate Bitlayer RPC provider and Bitlayer RPC node access: free tier, no KYC, HTTP & WebSocket. Bitlayer mainnet chain ID 200901.

Bitlayer mainnet RPC URL: https://rpc.swiftnodes.io/rpc/bitlayer?key=YOUR_API_KEY
WebSocket: wss://rpc.swiftnodes.io/ws/bitlayer?key=YOUR_API_KEY

Get your free Bitlayer API key

250,000 requests/month · 20 req/s · all chains · no card · no KYC

Get my free API key →

Bitlayer is a Bitcoin layer 2 with an EVM-compatible execution layer, using BTC (with 18-decimal precision) as its gas token. Its live network is Bitlayer PoS (V1), while a BitVM-based rollup (V2) is under development.

Network: Bitlayer
Type: EVM
Chain ID: 200901
Slug: bitlayer
Native token: BTC (Bitcoin)
Block time: ~3.0 seconds (measured)
Mainnet: April 2024
Category: Bitcoin Layer 2

Bitlayer on the SwiftNodes fleet, right now

Status: online
Latency: 76 ms
Latest block: 27,687,283
WebSocket: available
Uptime, last 30 days: 100.00%

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-11-01. Network status

Bitlayer developer facts, measured

Block time:
~3 s (average of the last 1,000 blocks)
eth_getLogs range:
50,000-block ranges accepted (the largest we test)
Historical state:
readable 64 blocks back, not 10,000

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

About Bitlayer

Bitlayer PoS (Mainnet-V1) launched in early April 2024, alongside the project's technical white paper. Bitlayer shipped a BitVM bridge to mainnet beta in July 2025, but disabled bridge-in on May 28, 2026 and gave YBTC holders until June 3, 2026 to bridge back; no relaunch has been announced. The chain itself continues to produce blocks.

Bitlayer is EVM-compatible, so Solidity contracts and standard Ethereum JSON-RPC tooling work. BTC on Bitlayer uses 18 decimals rather than Bitcoin's 8, and the network enforces a minimum priority fee of 0.025 gwei; use eth_gasPrice or eth_maxPriorityFeePerGas to estimate fees. BTR is the project's separate token.

Common Use Cases on Bitlayer

  • BTC-denominated DeFi
  • Deploying existing EVM contracts with BTC gas
  • Bitcoin asset indexing and wallets
  • Testing BitVM-related applications

Bitlayer Mainnet RPC URL (HTTP)

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

Bitlayer WebSocket RPC URL

wss://rpc.swiftnodes.io/ws/bitlayer?key=YOUR_API_KEY

Quick Start: Connect to Bitlayer

cURL

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

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

viem

import { createPublicClient, http } from "viem";

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

const blockNumber = await client.getBlockNumber();

web3.py

from web3 import Web3

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

Add Bitlayer to MetaMask

Network Name: Bitlayer (SwiftNodes)
RPC URL: https://rpc.swiftnodes.io/rpc/bitlayer?key=YOUR_API_KEY
Chain ID: 200901
Currency Symbol: BTC
WebSocket: wss://rpc.swiftnodes.io/ws/bitlayer?key=YOUR_API_KEY

Get your free Bitlayer API key

30 seconds, no card, no KYC. Sign in with Google, GitHub, email or a wallet. Or try the requests above now with key=demo.

Get a free key →

Features of SwiftNodes for Bitlayer

  • 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 and WebSocket support
  • One API key works across all 139 supported chains and their testnets, including Bitlayer

Rate Limits

PlanPriceHTTP req/sWS msg/sSign up
Free$0/mo201Start free →
Starter$49/mo7025Choose Starter →
Growth$89/mo15075Choose Growth →
Scale$149/mo300150Choose Scale →
Pro$249/mo600250Choose Pro →

Frequently Asked Questions: Bitlayer

What is the Bitlayer chain ID?

The Bitlayer mainnet chain ID is 200901 (0x310c5).

What gas price should I set on Bitlayer?

Bitlayer requires a minimum tip of 0.025 gwei. Use eth_gasPrice or eth_maxPriorityFeePerGas, or set maxPriorityFeePerGas to at least 0.025 gwei for EIP-1559 transactions.

Is the Bitlayer BitVM bridge still open?

No. Bitlayer disabled bridge-in on May 28, 2026 and set June 3, 2026 as the deadline to bridge YBTC back to BTC. The chain remains operational.

Bitlayer guides from the blog

  • Bitlayer RPC: A Developer's Guide (Chain ID 200901)Bitlayer is an EVM chain that pays gas in BTC. Measured: 3-second blocks from 21 rotating validators, a hard 0.025 gwei minimum tip, a transfer that costs 52.5 satoshis, no safe or finalized tags, and a public RPC that keeps only recent state.

Related L2 & rollup chains

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

Ready to start building on Bitlayer? Get a free API key in 30 seconds. No KYC, no card: sign in with Google, GitHub, email or a wallet.