Add getOpenPositions to Jupiter Perps API #15
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description:
Add a method to the Jupiter Perps API for finding all open Jupiter Perps positions for a wallet.
Suggested API:
Implementation:
SolanaBlockChain.getProgramAccounts(...)memcmpfilter at offset8to match the position owner walletSet<JupiterPerpsPosition>Non-goals:
Acceptance criteria:
JupiterPerpsPositionServiceexposesgetOpenPositions(...)JupiterPerpsPositionobjects