Mode RPC Endpoint
Fast, flat-rate Mode RPC node provider — free tier, no KYC, HTTP & WebSocket.
Mode is an Ethereum Layer 2 built on the OP Stack and part of the Optimism Superchain, focused on DeFi and on-chain financial applications. SwiftNodes provides Mode mainnet RPC over HTTP and WebSocket.
modeAbout Mode
Mode's mainnet launched on January 31, 2024. It is an OP Stack optimistic rollup that settles to Ethereum and uses ETH as its native gas token, with block times of about 2 seconds.
As a Superchain member, Mode shares tooling and interoperability with Optimism and other OP Stack chains. The project emphasizes DeFi and AI-driven on-chain finance, and developers deploy standard Solidity contracts using Ethereum tooling such as Foundry and Hardhat.
Common Use Cases on Mode
- DeFi protocols
- Yield-focused applications
- On-chain AI / agent finance
- Low-fee transactions
- Superchain interoperable apps
Mode Ecosystem
Part of the Optimism Superchain; hosts DeFi applications and uses OP Stack tooling shared with Optimism, Base, and other Superchain members.
HTTP Endpoint
https://rpc.swiftnodes.io/rpc/mode?key=YOUR_API_KEYWebSocket Endpoint
wss://rpc.swiftnodes.io/ws/mode?key=YOUR_API_KEYQuick Start: Connect to Mode
cURL
curl -X POST https://rpc.swiftnodes.io/rpc/mode?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/mode?key=YOUR_API_KEY"
);
const blockNumber = await provider.getBlockNumber();
console.log("Mode block:", blockNumber);viem
import { createPublicClient, http } from "viem";
const client = createPublicClient({
transport: http("https://rpc.swiftnodes.io/rpc/mode?key=YOUR_API_KEY"),
});
const blockNumber = await client.getBlockNumber();web3.py
from web3 import Web3
w3 = Web3(Web3.HTTPProvider("https://rpc.swiftnodes.io/rpc/mode?key=YOUR_API_KEY"))
print("Mode block:", w3.eth.block_number)Add Mode to MetaMask
https://rpc.swiftnodes.io/rpc/mode?key=YOUR_API_KEYwss://rpc.swiftnodes.io/ws/mode?key=YOUR_API_KEYBridging to Mode
Mode provides a native OP Stack bridge to Ethereum; third-party bridges such as Across and Stargate offer faster transfers.
Features of SwiftNodes for Mode
- 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 Mode
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: Mode
What's Mode's chain ID?
Mode mainnet is chain ID 34443.
What token pays for gas on Mode?
Mode uses ETH as its native gas token, like other OP Stack chains.
Is Mode part of the Superchain?
Yes - Mode is built on the OP Stack and is a member of the Optimism Superchain.
Is WebSocket supported?
Yes - SwiftNodes provides HTTP and WebSocket (wss://) endpoints with eth_subscribe support.
Ready to start building on Mode? Connect your wallet and get a free API key in 30 seconds. No email or KYC required.