BTB
/

Jito Liquid Staking

Liquid Stakingwebsite
Liquid staking for SOL. An agent can deposit SOL to receive JitoSOL, a token whose value rises as staking rewards and MEV tips accrue. It can also burn JitoSOL for SOL, instantly through the pool reserve or with a delayed stake-account withdrawal. Jito's kobe API reports pool stats and rates.

What you can do

stakeDeposit SOL and receive JitoSOLUpdateStakePoolBalance if the pool is stale, then DepositSol(lamports) with the SOL amount. Or use the official @solana/spl-stake-pool helper depositSol.
unstake-instantBurn JitoSOL for SOL from the pool reserveUpdateStakePoolBalance if stale, then WithdrawSol(pool_tokens). Fails if the reserve has less SOL than the amount.
unstake-delayedBurn JitoSOL for a stake accountWithdrawStake(pool_tokens) with a chosen validator; or helper withdrawStake from @solana/spl-stake-pool. The stake account becomes SOL after deactivation and withdrawal.
priceRead the current JitoSOL to SOL rateRead the stake pool account (total lamports and pool token supply), or call /api/v1/jitosol_sol_ratio on kobe.
Validator risk: the pool delegates to many validators. Poor validator behavior affects the rate, and delegation rules change over time.
Liquidity risk: WithdrawSol is limited to the pool reserve. Use WithdrawStake or wait when the reserve is low.
Epoch timing: the exchange rate updates per epoch. Deposits and withdrawals in the middle of an epoch can wait for the pool update.
Fees: deposit and withdrawal fees may apply, and they are set by the pool manager.

Contracts

Read any function, or build a write and sign it. Amounts are in base units (1 USDC = 1000000).
SPL Stake Pool program (used by JitoSOL)staking on solanaSPoo1Ku8WFXoNDMHPsrGSTSG1Y47rzgn41SLUNakuHy
write DepositSol(lamports: u64)
Send SOL (in lamports) to the stake pool and receive JitoSOL at the current exchange rate. Call UpdateStakePoolBalance first in the same transaction if the pool is stale. A deposit fee may apply.
write WithdrawSol(pool_tokens: u64)
Burn JitoSOL (pool tokens) for SOL immediately. Only works up to the SOL held in the pool reserve, and a withdrawal fee may apply.
write WithdrawStake(pool_tokens: u64)
Burn JitoSOL for a stake account split from a validator. Slower than WithdrawSol but has no reserve limit. The stake account is then deactivated and withdrawn after the epoch change.
write DepositStake()
Deposit an existing stake account into the pool for JitoSOL. The stake account must be eligible (correct validator and state).
write UpdateStakePoolBalance()
Recompute the pool's total lamports and the JitoSOL exchange rate. Permissionless. Send it before deposits and withdrawals when the pool is out of date for the epoch.
write CleanupRemovedValidatorEntries()
Remove validator list entries for validators that were removed from the pool. Permissionless.
JitoSOL stake pool accountstaking on solanaJito4APyf642JPZPx3hGc6WWJ8zPKtRbRs4P815Awbb
read StakePool account (getAccountInfo, owner SPoo1Ku8WFXoNDMHPsrGSTSG1Y47rzgn41SLUNakuHy)
The JitoSOL stake pool state: total lamports, pool token supply, fees and validator list. Read it with getAccountInfo and decode with the SPL stake pool layout, or use @solana/spl-stake-pool.
JitoSOL minttoken on solanaJ1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn
write transfer(amount: u64) via SPL Token program (TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA)
JitoSOL is a classic SPL token. Transfer it between associated token accounts with the SPL Token program.
read Mint account (getTokenSupply)
Read the total JitoSOL supply and decimals.