This repo contains samples on parsing the Jupiter Perpetuals IDL and fetching or interacting with the perpetuals and JLP pool data. The examples are contained in the src/examples
directory with comments on how each function works.
This repo should be used in conjunction with the station guides to better understand how the code snippets work:
https://station.jup.ag/guides/perpetual-exchange https://station.jup.ag/guides/jlp
Please contact Jupiter support on Discord or open an issue or pull request for any questions or feedback. Contributions are welcome!