BTB Finance for agents

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

What an agent can do

read-poolRead the JLP pool state
getAccountInfo on 5BUwFW4nRbftYTDMbgxykoFWqWHPzahFSNAaaaJtVKsq, then decode with the Pool account layout

Contracts

solana

ContractAddressKey functionsTry
Jupiter Perpetuals program
exchange
PERPHjGBqRHArX4DySjwM6UJHiR3sWAatqfdBS2qQJu
source
JLP pool account
pool
5BUwFW4nRbftYTDMbgxykoFWqWHPzahFSNAaaaJtVKsq
source
readPool account (getAccountInfo, owner PERPHjGBqRHArX4DySjwM6UJHiR3sWAatqfdBS2qQJu)

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

Researched 2026-11-28. Addresses are copied from the official sources above; check them before moving large amounts.