pDEX API functions

Hey all, lots of people asking when the pDEX SDK will be available. Our devs are focusing on improving the ui/ux of the app right now, so the official release is slated for Q2 2020.

In the mean time, we’ve put together a list of basic functions to get you started:

  1. Get token ID
  2. Trade PRV -> pToken
  3. Trade pToken -> PRV
  4. Get beacon height (for historical data, use lower beacon height)
  5. Get pool size of all pair in pDex (this will tell you price)

pDEX functions.pdf (56.6 KB)