Flare Studio Logo
Analytics Dashboard

What is FTSO?

The Flare Time Series Oracle (FTSO) is a decentralized oracle system that provides regularly updated price data for various assets. It aggregates data from multiple providers to ensure accuracy and decentralization.

FTSO data feeds are available for cryptocurrencies, traditional assets, and other financial data. These feeds are crucial for DeFi applications, prediction markets, and any smart contract that requires reliable external data.

Key Features

šŸŽÆ Decentralized

Data is aggregated from multiple independent providers, ensuring no single point of failure.

⚔ Real-time Updates

Prices are updated every 3 minutes, providing fresh data for time-sensitive applications.

šŸ”’ Secure

Cryptographic proofs ensure data integrity and prevent manipulation.

🌐 Multi-asset Support

Supports a wide range of cryptocurrencies, forex pairs, and commodities.

How FTSO Works

The FTSO system works in repeating cycles where price data is collectedĀ andĀ finalized:

  1. Data providers submit price estimates for supported assets.
  2. Aggregation calculates a median price from all submissions in each cycle.
  3. Reward distribution automatically rewards providers whose estimates are closest to the final price.
  4. Smart contracts can read and use the finalized price data on chain.

Quick Start Example

Loading...

What this code does:

This example connects to the FTSO contract and reads the latest price. You will need to replace YOUR_RPC_URL with a working Flare RPC endpoint. The getCurrentPrice function returns the price and the time it was last updated, so you can see both the value and when it became final.

Ready to Start Building?

Continue to the next guide to build your first application with FTSO data feeds.