End data consumers - Apothem
(If you are a price consumer on Apothem testnet, then follow below steps)
Go to "Explore data feeds" and click on "View Feeds".
Now choose the Cryptocurrencies (Other) feed option for Apothem testnet.
Choose the GNC/GNC Index Pair, which has the Apothem as Network.
Integrate your wallet.
Copy and save the contract.
In the next page, click on the "Connect Wallet to Deposit" button by pointing your XDCPay to apothem with your wallet address. In the resultant page choose "XDCPay Wallet".
Now, you can Deposit PLI within the minimum & maximum range as highlighted.
Once the PLI is deposited successfully you will get the below mentioned page.
Now deploy this consumerContract.sol using Remix.
Call the function "getPriceInfo" with input parameters of "from tokens" in "fsyms" and "to tokens" in "tsyms", and click on "transact" button, this should trigger oracle contract and will write the data for your request id. For example, we are overriding the PLI & USDT in fsyms, tsyms
Click "requestId" button to get your requested value. Then copy the request id as highlighted in the given below image.
Paste the copied request id in "Show" function and click the show button to get the value of the index pair.
Note: the value you see from "Show", is multipled with 10000 to include fractional values. So when you are using this value in your contract, make sure to apply safemath(div) operator to use the actual value.
For ex - 552 / 10000 => 0.0552 would be the actual PLI price, as of today. This price may vary, when you execute.