Lens Chain RPC Endpoint

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

Lens Chain mainnet RPC URL: https://rpc.swiftnodes.io/rpc/lens?key=YOUR_API_KEY
WebSocket: wss://rpc.swiftnodes.io/ws/lens?key=YOUR_API_KEY

Lens Chain is the ZK Stack layer 2 that hosts the Lens social protocol, using Avail for data availability and Aave's GHO stablecoin as its gas token. It is classified by L2BEAT as a validium.

Network: Lens Chain
Type: EVM
Chain ID: 232
Slug: lens
Native token: GHO (GHO)
Block time: ~30.9 seconds (measured)
Finality: ~7.6 hours to the finalized tag (measured)
Mainnet: April 2025
Category: Validium

Lens Chain on the SwiftNodes fleet, right now

Status: online
Latency: 160 ms
Latest block: 6,336,977
WebSocket: available

6 of 12 probed RPC methods supported (archive, batch, debug_traceCall, 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

Lens Chain developer facts, measured

Block time:
~31 s (average of the last 1,000 blocks)
eth_getLogs range:
50,000-block ranges accepted (the largest we test)
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 Lens Chain

Lens Chain mainnet launched on April 4, 2025, migrating over 650,000 profiles and about 125 GB of protocol data from Polygon PoS without user action. It runs on ZKsync's ZK Stack, posting transaction roots to Ethereum and full data to Avail. In January 2026 Mask Network became the steward of Lens, with the original team moving to an advisory role; the chain itself was not changed.

Lens Chain inherits ZKsync behavior, including native account abstraction, and the docs support Hardhat, Foundry, Viem and Ethers. Gas is priced in GHO, so fees are effectively USD-denominated.

Common Use Cases on Lens Chain

  • Social apps built on Lens profiles and graphs
  • Creator monetization and tipping
  • Gasless or sponsored social actions via account abstraction
  • Community and access-control rules

Lens Chain Mainnet RPC URL (HTTP)

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

Lens Chain WebSocket RPC URL

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

Quick Start: Connect to Lens Chain

cURL

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

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

viem

import { createPublicClient, http } from "viem";

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

const blockNumber = await client.getBlockNumber();

web3.py

from web3 import Web3

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

Add Lens Chain to MetaMask

Network Name: Lens Chain (SwiftNodes)
RPC URL: https://rpc.swiftnodes.io/rpc/lens?key=YOUR_API_KEY
Chain ID: 232
Currency Symbol: GHO
WebSocket: wss://rpc.swiftnodes.io/ws/lens?key=YOUR_API_KEY

Features of SwiftNodes for Lens Chain

  • 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 75+ supported chains, including Lens Chain

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: Lens Chain

What is the Lens Chain chain ID?

The Lens Chain mainnet chain ID is 232 (0xe8).

What is the gas token on Lens Chain?

GHO, Aave's USD stablecoin, so transaction fees are priced in USD terms.

Where does Lens Chain store transaction data?

Full transaction data is posted to Avail, with transaction roots and proofs settled on Ethereum, which is why L2BEAT classifies it as a validium.

Related L2 & rollup chains

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

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