Skip to main content
Jupiter Earn is the deposit-and-earn side of Jupiter Lend. Integrating Jupiter Earn lets users supply tokens to earn yield on Solana. Deposits go into Jupiter Lend’s unified liquidity layer and earn the best available rate from lending markets. Interest from borrowers becomes yield for depositors, and positions are tracked in the Jupiter Lend program. Users deposit, view their position in the app, and withdraw when ready. Withdrawals are smoothed via an automated debt ceiling. There are no supply limits and no fees for using Earn.

About Earn

Jupiter Earn is the deposit-and-earn side of Jupiter Lend. Simply deposit assets and earn yield.
Jupiter Lend uses a unified liquidity layer where both Earn (lending) and Borrow (vault) protocols can source liquidity from. For depositors this means you earn the best possible rate at all times without having to migrate your funds when new protocols are launched on Jupiter Lend. You can supply once and earn the most up to date yield from the Jupiter Lend protocol.
There are no limits on supplying funds to the Earn Protocol. Withdrawals from Jupiter Lend utilise an Automated Debt Ceiling. Withdrawals increase every block creating a smoothing curve for withdrawals preventing any sudden large movements.
Jupiter Lend is a novel protocol and like all DeFi protocols contains smart contract risk, market risk and other factors which can cause loss of user funds.
There are no fees to use the Earn Protocol on Jupiter Lend.

Key components of Earn integration

Earn Operations

Get deposit and withdraw as raw instructions or as account context for CPI. Use the instructions to build and send transactions, or pass the context into your Anchor program.

Yield tracking

Get all lending tokens, token details (supply rate, rewards rate, totals, conversion multipliers), and a user’s position by asset (shares, underlying assets, wallet balance) using SDK.
For complete examples of all Earn operations, see Deposit and Withdraw.

Ways to fetch data

Public API

Tokens, positions, and earnings endpoints for pool metrics and user data.

SDK (Earn data)

Get instructions for all operations; read lending tokens, token details, and Earn user positions by asset.

Key data structures

Lending Account

The Lending account represents the per-asset state for Jupiter Lend Earn. There is one Lending account per supported underlying token mint.
It links the Earn vault layer to the underlying liquidity layer and tracks pricing, reward configuration, and liquidity positions.

Account structure


Notes

  • liquidity_exchange_price reflects base liquidity yield without rewards.
  • token_exchange_price includes reward accrual and determines the value of jlTokens.
  • All prices are scaled integers and must be descaled using the appropriate precision.

Jupiter Lend SDK repository

Explore the TypeScript SDK source code, examples, and integration patterns.

NPM package

Install the TypeScript SDK to integrate deposit, withdraw, mint, and redeem flows.