Integration Summary
Define REST URL Template: Create a URL template using the text/template syntax that will point to the endpoint of the data provider. The `DataKey` and `SourceID` variables will be available in the template.
Set Up Parsing Pipelines: Configure pipelines in the YAML configuration file to parse the price, timestamp, and volume (if available) from the JSON response. Use GJSON syntax for querying the JSON structure.
Configure the System: Implement the URL template and parsing pipelines in the configuration file to integrate the data feed with Entangle UDF.
Fetch Data: Use the Finalized Data API to retrieve updates on-chain using the `PullOracle` smart contract.
Verify Data: Use the Finalized Data API to verify updates on-chain using the `PullOracle` smart contract.
Monitor and Update: Regularly monitor the integration to ensure data accuracy and make adjustments to the configuration as needed based on any changes from the data provider or updates to the Entangle UDF system.
Last updated