BTB
/

Jupiter Perpetual Exchange

Derivativeswebsite
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.

What you can do

read-poolRead the JLP pool stategetAccountInfo on 5BUwFW4nRbftYTDMbgxykoFWqWHPzahFSNAaaaJtVKsq, then decode with the Pool account layout
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.

Contracts

Read any function, or build a write and sign it. Amounts are in base units (1 USDC = 1000000).
Jupiter Perpetuals programexchange on solanaPERPHjGBqRHArX4DySjwM6UJHiR3sWAatqfdBS2qQJu
JLP pool accountpool on solana5BUwFW4nRbftYTDMbgxykoFWqWHPzahFSNAaaaJtVKsq
read Pool account (getAccountInfo, owner PERPHjGBqRHArX4DySjwM6UJHiR3sWAatqfdBS2qQJu)
The single JLP pool account that holds the liquidity for all perp markets. Read it with getAccountInfo and decode it with the Pool account layout in the Jupiter docs (developers.jup.ag/docs/perps/pool-account).