Price Data Feeds
Get price info on chain with Chainlink Price Feeds for multiple coin pairs
Last updated
Get price info on chain with Chainlink Price Feeds for multiple coin pairs
Last updated
Data Feeds are the quickest way to connect your smart contracts to the real-world data such as asset prices, reserve balances, NFT floor prices, and L2 sequencer health.
Data feeds provide many different types of data for your applications.
Start by importing the datum-contracts interface
Now create an instance of the oracle-interface , and the Oracle Address should be the Price Oracle address for the chain , you are trying out
PricePairAddress : for other pairAddreses , visit here for PriceFeeds , ProofOfReserve feed and NFTFloorPrice on Goerli testnet.
You can call requestPairPrice
to an updated price for the pair
Call getLatestPrice
to get the price for the Pair directly
In there simple steps , you can get Price Feeds , ProofOfReserve feeds and NFTFloorPrices from the Chainlink Oracle to your chain with DATUM