Introduction
Last updated
Last updated
Bracle Price feeds continuously stream price updates to blockchains, with each feed stored within a smart contract. Application developers can easily pass these contracts on their own, then deserialize the data to read the current feed value. For integration instructions, please see "How to Use."Bracle Price Feeds also offer a "pull" model for price updates, where users are responsible for posting updates to the chain as needed. For more information on this model and its implications for integrators, refer to "Pull Updates."In the pull model, developers should integrate Bracle into both their on-chain and off-chain code:
On-chain programs should read prices from the Bracle program deployed on the same chain.
Off-chain frontends and jobs should include Bracle price updates within or alongside their application-specific transactions.
Bracle provides ecosystem-specific SDKs to assist with the integration process, both on-chain and off-chain. The simplest way to utilize Bracle price feeds is to integrate the relevant SDKs into your application.Before starting with an SDK, it's recommended to read "Best Practices" to understand how Bracle price feeds are structured and to learn the best practices for using Bracle prices safely and correctly.