docs
  • Introduction
  • Getting started
    • Meet the network using CLI
    • Your first transaction
    • Run smart contract
    • Run your own node
    • Ledger Support
  • Architecture
    • Dnode
    • Dncli
    • XFI & Other coins
    • Fees & Gas
    • Addresses
  • Staking
    • Delegate sXFI & LPT
    • Become a validator
    • Rewards & Inflation
    • Slashing
    • More
  • Move VM
    • Modules
    • Scripts
    • Script Arguments
    • Standard Library
    • Events
    • Resources
    • Move Book
    • More
  • Oracles
    • Query Price
  • PegZone
    • Deposit
    • Usage
    • Withdraw
  • Useful Resources
    • Dfinance Website
    • Wallet
    • Move Book
    • Block Explorer
    • Swagger UI
    • Community
    • VSCode Move IDE
Powered by GitBook
On this page

Was this helpful?

Oracles

PreviousMoreNextQuery Price

Last updated 4 years ago

Was this helpful?

This document described how to work with oracles data in case of dfinance network.

Introduction to price feed oracles

Dfinance blockchain supports price feed oracles, every block new transactions coming from oracles nodes and posting prices.

Currently, dfinance supports next tickers:

  • ETH_USDT - .

  • BTC_USDT - .

  • XFI_ETH - simulation.

  • XFI_BTC - simulation.

A list of assets could be updated, so the actual one you can get from .

Currently oracles nodes fetching price from Binance only. Oracle node application published in our Github and we are welcome for contributions: dfinance needs more exchanges and ticker pairs.

Every block dfinance platform collect posted prices from whitelisted oracles and then choose median to store final price for the last block.

This functional implemented by dnode in module.

Binance
Binance
API
repository
x/oracle