Logo

Fantom RPC Endpoints & API | OnFinality

Performance matters.

通过 OnFinality 的弹性 API 几秒钟内连接到 Fantom,每年提供 99.99% 的高可用性。

Performance matters.

连接到公共端点

以下示例使用的是公共 API 接口*。该接口仅适用于测试。为避免限速和服务中断, 立即注册 来获取您专属的API key。
curl -H 'content-type:application/json' -d '{"id": 1, "jsonrpc": "2.0", "method": "eth_blockNumber"}' 'https://fantom.api.onfinality.io/public'
https://fantom.api.onfinality.io/public
wss://fantom.api.onfinality.io/public-ws

* 公共接口有速率限制

API 服务

API 功能

Archive

API 位于

Hong KongFranceN.Virginia

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.

API 服务
无限请求,高速速率限制
强大的 API 分析功能
99.99% 在线率
通过 HTTPS 或 websocket 连接
全球去中心化服务器托管
全archive节点访问不另收费
价格

计算您的费用

按需付费,无隐藏成本。

Million Standard Requests
0100M200M300M400M
Total Cost
$49/ month

Recommended Plan: GROWTH

Continue with this plan

Latest Fantom Updates!

永远不用担心基础设施

OnFinality 消除了 DevOps 的繁重工作,让您能够更聪明、更快地构建。

开始