Fantom RPC Endpoint

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

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

Fantom Opera is the original Fantom layer 1, a proof-of-stake chain using the DAG-based Lachesis aBFT consensus and FTM for gas. Its ecosystem has moved to Sonic, the successor network launched by Sonic Labs in December 2024.

Network: Fantom
Type: EVM
Chain ID: 250
Slug: fantom
Native token: FTM (Fantom)
Block time: ~5.7 seconds (measured)
Mainnet: December 2019
Category: Layer 1

Fantom on the SwiftNodes fleet, right now

Status: online
Latency: 220 ms
Latest block: 123,706,447
WebSocket: available

11 of 12 probed RPC methods supported (archive, batch, debug_traceCall, trace_transaction). 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-11. Network status

Fantom developer facts, measured

Block time:
~3.83 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-11 through this page's endpoint, re-measured weekly. Limits can differ between the upstream nodes behind it. All chains: measured chain facts.

About Fantom

Opera's genesis block was produced in December 2019. After Sonic launched, validators, liquidity and most apps migrated there, and FTM can be swapped 1:1 for Sonic's S token. Sonic Labs announced in April 2026 that Opera would be retired on June 30, 2026, but on June 23, 2026 new leadership reversed that, keeping Opera live until at least the end of 2026 with the FTM to S bridge funded.

Opera is EVM-compatible and works with standard Ethereum tooling. New development targets Sonic, so Opera RPC access mainly serves historical data, asset migration and legacy contracts; Sonic Labs has said Opera chain history will be preserved.

Common Use Cases on Fantom

  • Migrating FTM to S on Sonic
  • Querying historical Opera data
  • Maintaining legacy contracts and indexers
  • Withdrawing from legacy DeFi positions

Fantom Mainnet RPC URL (HTTP)

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

Fantom WebSocket RPC URL

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

Quick Start: Connect to Fantom

cURL

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

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

viem

import { createPublicClient, http } from "viem";

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

const blockNumber = await client.getBlockNumber();

web3.py

from web3 import Web3

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

Add Fantom to MetaMask

Network Name: Fantom (SwiftNodes)
RPC URL: https://rpc.swiftnodes.io/rpc/fantom?key=YOUR_API_KEY
Chain ID: 250
Currency Symbol: FTM
WebSocket: wss://rpc.swiftnodes.io/ws/fantom?key=YOUR_API_KEY

Features of SwiftNodes for Fantom

  • 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 Fantom

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: Fantom

What is the Fantom chain ID?

Fantom Opera uses chain ID 250 (hex 0xfa).

Is Fantom Opera shutting down?

A June 30, 2026 retirement was announced in April 2026, then reversed on June 23, 2026. Sonic Labs said Opera will stay live until at least the end of 2026.

What is the relationship between Fantom and Sonic?

Sonic is the successor network from the same team, launched in December 2024. FTM converts to S 1:1, and new development has moved to Sonic.

Fantom RPC methods

Measured weekly through this endpoint: what each method returns on Fantom, its limits, and an example request.

Related EVM chains

Explore RPC endpoints for other EVM networks on SwiftNodes:

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