End data consumers - Apothem

(If you are a price feed consumer on Apothem testnet, then follow below steps)

NOTE: To get Apothem PLI & XDC tokens in your wallet, please follow the link "https://docs.goplugin.co/wallet/xdcpay-apothem"

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 on the view button on the "Action".

We’ll take PLI/USDT in apothem as an example

STEP 3:

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

The area highlighted in “red” shows the Oracle address/addresses used for this data feed pair

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” show the sources used for this data feed pair.

STEP 4:

To retrieve the price of the PLI/USDT, integrate the contract in the black window than can be seen in the image above, and copy-paste the contract to remix,

STEP 5:

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

STEP 6:

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

You can "Contact Us" for customized feeds.

Last updated