Protocols / Derivatives
Jupiter Perpetual Exchange
Jupiter's perpetuals exchange on Solana. Traders open leveraged long and short positions against the JLP pool, which holds the liquidity. The on-chain Perpetuals program and the single JLP pool account are documented by Jupiter.
On-chainSOLANA2 contractsWebsite · Docs
get_protocol({ "protocol": "jupiter-perpetual-exchange" })Risks an agent should know
- Leverage: positions are liquidated when collateral falls below the maintenance margin. Losses can exceed the collateral you expect at low leverage during fast moves.
- Counterparty: the JLP pool takes the other side of trader positions, so JLP holders carry trader profit and loss.
- Oracle risk: position values and liquidations depend on oracle prices.
- Jupiter describes its Perps API as a work in progress. Position and order instructions are not documented as a stable public interface, so do not build production trading on unofficial IDLs without checking them.
- The program is upgradeable by Jupiter.
What an agent can do
| read-pool | Read the JLP pool state getAccountInfo on 5BUwFW4nRbftYTDMbgxykoFWqWHPzahFSNAaaaJtVKsq, then decode with the Pool account layout |
Contracts
solana
Notes
The Perpetuals program id PERPHjGBqRHArX4DySjwM6UJHiR3sWAatqfdBS2qQJu appears in an official Jupiter docs page, in the Solscan IDL link on the pool-account page. It is confirmed executable on mainnet. The JLP pool account 5BUwFW4nRbftYTDMbgxykoFWqWHPzahFSNAaaaJtVKsq is confirmed owned by the program on mainnet. The JLP mint address is left out because no official Jupiter page stated it in this research. Instruction names (open, close, increase and decrease position requests) were not confirmed from an official source, so keyFunctions is empty. The official source repository for the program (jup-ag/perpetuals) was not reachable during research. The Solscan IDL link is the only official pointer found; Jupiter's Perps docs say the API is a work in progress.
Sources
- https://api.llama.fi/protocol/jupiter-perpetual-exchange
- https://developers.jup.ag/docs/perps
- https://developers.jup.ag/docs/perps/index
- https://developers.jup.ag/docs/perps/pool-account
- https://developers.jup.ag/docs/perps/custody-account
- https://developers.jup.ag/docs/perps/position-account
- https://developers.jup.ag/docs/perp-api
- https://api.mainnet-beta.solana.com
Researched 2026-11-28. Addresses are copied from the official sources above; check them before moving large amounts.