Skip to main content

Oracle Pallet

The Oracle pallet provides real-time cryptocurrency price feeds critical for accurate operations across Unit Network.


How Prices Are Used

FunctionHow Oracle Data Is Used
Stablecoin MintingDetermines stablecoins minted when burning reserve assets
DepositsCalculates wrapped tokens to mint
WithdrawalsEnsures accurate conversion
Treasury RedemptionDetermines reserve assets to return
Price DisplayPowers real-time UI pricing

Price Update Process

  1. Off-chain workers fetch prices from external sources
  2. Consensus reached every 4 blocks among staking workers
  3. Verified prices submitted to on-chain oracle
  4. Platform modules query oracle for current data

Supported Assets

Price feeds for all 14+ reserve assets: BTC, ETH, DOT, SOL, BNB, ADA, ALGO, AVAX, NEAR, XLM, ATOM, TON, CRO, and stablecoins.

→ See: Staking Worker