Logo

Fantom RPC Endpoints & API

Performance matters.

Chain ID250
CurrencyFTM

Connect to Fantom RPC endpoints for wallet flows, contract apps, and live backends, with archive data where supported.

Performance matters.

Create RPC Endpoint

Fantom RPC Endpoint

The below example uses the public API endpoint*. This endpoint is only suitable for testing. To avoid rate limiting and service interruption, sign up now to get your own API key.
Example CURL
curl -H 'content-type:application/json' -d '{"id": 1, "jsonrpc": "2.0", "method": "eth_blockNumber"}' 'https://fantom.api.onfinality.io/public'
curl -H 'content-type:application/json' -d '{"id": 1, "jsonrpc": "2.0", "method": "eth_blockNumber"}' 'https://fantom.api.onfinality.io/public'
HTTPs
https://fantom.api.onfinality.io/public
https://fantom.api.onfinality.io/public
Websocket
wss://fantom.api.onfinality.io/public-ws
wss://fantom.api.onfinality.io/public-ws

* The public endpoint is rate limited

RPC API Service

RPC API Features

Archive

RPC Regions

Hong KongFranceN.Virginia

PRICING

Calculate Your Costs

Only pay for what you need.

Million Standard Requests
0100M200M300M400M
Total Cost
$49/ month

Recommended Plan: GROWTH

Continue with this plan

Fantom RPC Endpoints

Fantom is a fast, high-throughput open-source smart contract platform for digital assets and decentralized applications (dApps). Its Opera mainnet uses a Directed Acyclic Graph (DAG) consensus mechanism called Lachesis, enabling near-instant finality and low transaction costs. Developers building on Fantom need reliable RPC endpoints to interact with the blockchain.

What is a Fantom RPC Endpoint?

A Fantom RPC endpoint is a network URL that applications use to read blockchain data, submit transactions, and connect backend services to the Fantom network. It follows the EVM JSON-RPC standard, making it compatible with Ethereum tooling like MetaMask, Hardhat, and Web3.js.

Why Use OnFinality for Fantom RPC?

OnFinality provides managed Fantom RPC endpoints with archive data support, request analytics, and a clear scaling path from shared APIs to dedicated nodes. This allows developers to focus on building rather than maintaining node infrastructure.

  • Archive Access: Query historical state data without running your own archive node.
  • Observability: Monitor request usage, errors, and latency through the OnFinality dashboard.
  • Scalability: Start with shared endpoints and upgrade to higher capacity as your project grows.

How to Connect to Fantom with OnFinality

  1. Create or sign in to your OnFinality account.
  2. Select Fantom from the supported networks list.
  3. Create an API endpoint (or deploy a dedicated node if needed).
  4. Test the endpoint using eth_blockNumber.
  5. Monitor usage and limits before moving production traffic.

Fantom RPC Use Cases

  • DeFi Protocols: Fetch token balances, submit swaps, and monitor liquidity pools.
  • Wallets: Broadcast transactions and retrieve account history.
  • Analytics Tools: Index on-chain data for dashboards and reporting.
  • Games & NFTs: Mint assets, track ownership, and process in-game transactions.

Public vs Private Fantom RPC

Public endpoints are suitable for lightweight testing but often lack reliability and visibility for production workloads. OnFinality's authenticated endpoints provide clearer usage limits, request analytics, and dedicated support options.

Fantom Network Details

  • Chain ID: 250
  • Currency: FTM
  • Consensus: Lachesis (DAG-based)
  • RPC Protocol: EVM JSON-RPC
  • Transports: HTTP and WebSocket
  • Archive Support: Yes

Start building on Fantom with OnFinality's reliable RPC infrastructure.

Fantom RPC and developer resources

A useful Fantom RPC page should make the connection path, supported capabilities, and production planning trade-offs clear before a developer opens the dashboard.

Best fit: mainnet production workflows for wallet flows, contract apps, and live backends.

What builders usually check first:

  • Read current chain state for apps, dashboards, wallets, and backend services.
  • Submit transactions and monitor confirmations from Ethereum-compatible tools.
  • Query logs, receipts, and historical state when indexers or analytics pipelines need more than the latest block.
  • Debug contract behaviour with trace data where the network supports it.

Supported capability notes:

  • Authenticated Fantom RPC/API access for wallet flows, contract apps, and live backends.
  • Flexible HTTP and WebSocket access for app, backend, and integration workflows.
  • Archive-capable workflows when the product needs older chain state.

Decision notes:

  • Environment: mainnet. Protocol family: EVM JSON-RPC.
  • Flexible HTTP and WebSocket access is listed for supported app and backend workflows.
  • Archive support is available for historical state or older chain-data queries.

A quick connection check usually starts with eth_blockNumber, then moves into the exact methods your wallet, dashboard, bot, indexer, or backend service needs.

Planning the next step:

  • Shared RPC is a practical starting point for integration, prototypes, dashboards, and many app backends.
  • If your product becomes traffic-heavy or operationally sensitive, review the available upgrade path before relying on a single access pattern.

Next steps:

RPC API SERVICE
Reliable RPC endpoints with high rate limits
Powerful RPC request analytics
99.99% uptime
Connect via HTTPS or websocket
Decentralised servers hosted globally
Full archive access at no extra cost

Never Worry about Infrastructure Again

OnFinality takes away the heavy lifting of DevOps so you can build smarter and faster.

Get Started