OpenJUP
👤

JLP Loan Saver

Close a Jupiter Liquidity Provider position in one signed transaction. The planner sizes the flash loan, guarantees the debt is cleared before collateral withdrawal, and reserves the 0.1% rescue fee for GZxAjTVhdNQ7FNBtKhka9Xquk7yRE4o2p75bRqANpX3r.

How the flash-close transaction is structured

Every run builds a single transaction with four instruction groups. Make sure your wallet is connected and the blockhash is refreshed just before submitting.

  1. Flash borrow USDC from Jupiter Loans for the amount needed to repay the debt plus buffers.
  2. Repay the outstanding JLP debt using the borrowed USDC, then withdraw the staked JLP collateral.
  3. Redeem the withdrawn JLP back into USDC through the Jupiter router (or a direct burn if the pool is healthy) while enforcing your slippage guardrail.
  4. Repay the flash loan and forward a 0.1% protocol fee to GZxAjTVhdNQ7FNBtKhka9Xquk7yRE4o2p75bRqANpX3r.

Loan saver planner

Inputs

Wallet: Not connected

Instruction set & compute budget

Select the instructions that will run inside this transaction. Optional steps can be split out to reduce compute usage while debugging. Choose one redemption path: keep the direct burn enabled or switch to the Jupiter swap option when the pool requires it—the planner will automatically disable the other path and update the compute totals.

Estimated compute:
RPC endpoint: https://openjup.com/rpc.php
Manage the Solana RPC endpoints used for blockhash refreshes and simulations.

Plan preview

Awaiting input. Connect your wallet and provide the position numbers to see the staged transaction.
Connect your wallet and generate a plan to enable simulation.