Skip to Content
DocumentationRadixWhat is Radix DataFeed

Radix DataFeed

The Morpher DataFeed provides real-time price feeds and market data for blockchain applications on the Radix network. This page introduces the data feed system and its key features.

What is a Blockchain Data Feed?

Blockchain data feeds are services that connect smart contracts with data from the outside world. They act as bridges between blockchains and external systems, allowing smart contracts to access real-world information such as:

  • Price data for cryptocurrencies and traditional assets
  • Sports results and event outcomes
  • Weather data
  • Random number generation
  • Any other off-chain information

Pull vs Push Data Feed Models

Pull-Based Data Feeds
  • DApps or Smart contracts actively request data from the data feed
  • Data is fetched on-demand
  • More control over when and how data is updated
  • Better suited for real-time or time-sensitive applications
Push-Based Data Feeds
  • Push-based systems proactively send data to smart contracts
  • Data is updated at predefined intervals or thresholds
  • More efficient for data that changes at known intervals
  • Less suitable for immediate or real-time data needs

The Morpher DataFeed Approach

The Morpher DataFeed on Radix is a pull-based data feed. This means:

  1. Data is fetched off-chain by your application
  2. The DataFeed signs this data cryptographically
  3. Users include the signed data in their transaction manifests
  4. Smart contracts verify the data on-chain using the DataFeed’s public key

This approach offers several advantages:

  • Efficiency: Only fetch data when needed
  • Cost-effectiveness: No continuous on-chain updates
  • Freshness: Always get the latest data at transaction time
  • Security: All data is cryptographically signed and verified

Key Features

  • Cryptographic Verification: All data is signed using BLS signatures and verified on-chain
  • Subscription Model: Access via NFT-based subscriptions
  • Multiple Data Sources: Price data from major exchanges and aggregators
  • Low Latency: Fast access to real-time market data
  • Flexible Integration: Easy to integrate with any Radix DApp

Documentation Sections

Getting Started

To start using the Morpher DataFeed:

  1. Subscribe to the DataFeed by purchasing a subscription NFT:
  2. Follow the Integration Guide to implement the DataFeed in your DApp
  3. Explore the Gumball Demo to see a working example: