Chainlink Data Feeds are the quickest way to connect your smart contracts to the real-world market prices of assets. For example, one use for data feeds is to enable smart contracts to retrieve the latest pricing data of an asset in a single call.
If you already have a project started and would like to integrate Chainlink, you can add Chainlink to your existing project by using the
chainlink NPM package.
You can use the Chainlink Market to select nodes for your requests. If you have the node's oracle contract address and the Job ID, use the
sendChainlinkRequestTo function to create requests to oracles.
Often, smart contracts need to act upon prices of assets in real-time. This is especially true in DeFi.
The Decentralized Data Model describes how Data Feeds are aggregated from many data sources and published on-chain.