End data consumers - Mainnet

(If you are a price feed consumer then follow below steps)

Explore https://feeds.goplugin.co & check which contract fulfills your requirement for the required price index pairs (Example: XDC-USDT, PLI-USDT, BTC-USDT, etc.,).

STEP 1:

Click on "Data Feeds" on the navigation bar and then click on “All Feeds”.

STEP 2:

Choose the Index Pair and click "view" as shown in the image below.

We’ll take PLI/USDT as an example

STEP 3:

Click on “View” on the above page for “PLI/USDT” and then you’ll find the screen below

STEP 5:

This screen will pop up as shown below :

The area highlighted in “red” shows the Oracle address/addresses used for this data feed pair, for example here, we have 3 oracles with a minimum of 2 responses needed to fetch the current answer.

The area highlighted in “blue” shows the “Network” and “Source Type” used for this data feed pair

The area highlighted in “green” and “Source of Trust” shows the sources used for this data feed pair with 2 sources for PLI/USDT.

STEP 6:

To retrieve the price of the PLI/USDT, to integrate the contract, copy-paste the contract to remix.

STEP 7:

Copy the constructor address (highlighted in pink), pass this address, and deploy the contract.

STEP 8:

Once your contract is deployed,” click on “fetchLatestAnswer”. And you’ll get the current value of “PLI/USDT”.

You can also “Contact Us” for a customized feed pair.

Last updated