Guides

Stake with a Sanctum LST

Sanctum's validator LSTs run on two stake pool programs: single-validator pools (SP12tWFxD9oJsVWNavTTBZvMbA6gkAmxtVgxdqvyvhY) and multi-validator pools (SPMBzsVUuoHA4Jm6KunbsotaahvVikZs1JyTW6iJvbn). One pair of hooks per program reaches every Sanctum LST that accepts direct SOL deposits and withdrawals:

  • Single-validator: sanctum.single.stake and sanctum.single.unstake
  • Multi-validator: sanctum.multi.stake and sanctum.multi.unstake

Each hook leaves the LST mint open and takes the stake pool's accounts as caller slots, so you pick the LST in the run form or pass its stake pool address in args.pool. The LST sits in your private balance as a note and gains value against SOL as the pool earns.

You need a private balance holding SOL to stake, or holding the LST to unstake. Enter and leave covers getting one.

Curated pools

The run form lists these pools directly, and also accepts any other direct Sanctum stake pool address on either program.

Hook pairSymbolStake pool addressLST mint
sanctum.single.*hSOL3wK2g8ZdzAH8FJ7PKr2RcvGh7V9VYson5hrVsJM5Lmwshe1iusmfkpAdwvxLNGV8Y1iSbj4rUy6yMhEA3fotn9A
sanctum.single.*dSOL9mhGNSPArRMHpLDMSmxAvuoizBqtBGqYdT8WGuqgxNdnDso1bDeDjCQxTrWHqUUi63oBvV7Mdm6WaobLbQ7gnPQ
sanctum.single.*bbSOL2aMLkB5p5gVvCwKkdSo5eZAL1WwhZbxezQr1wxiynRhqBybit2vBJGhPF52GBdNaQfUJ6ZpThSgHBobjWZpLPb4B
sanctum.multi.*jupSOL8VpRhuxa7sUUepdY3kQiTmX9rS5vx4WgaXiAnXq4KCtrjupSoLaHXQiZZTSfEWMTRRgpnyFm8f6sZdosWBjx93v
sanctum.multi.*hySOLhy1oDeVCVRDGkxS26qLVDvRhDpZGfWJ6w9AMvwMegwLhy1oXYgrBW6PVcJ4s6s2FKavRdwgWTXdfE69AxT7kPT
sanctum.multi.*bulkSOL3aUmJDNpMHjkxunQEkHTj2chzyryKoH2uQj6YACLD174BULKoNSGzxtCqzwTvg5hFJg8fx6dqZRScyXe5LYMfxrn

Stake

  1. Open the hook

    On Balance, under Run a hook, press Stake (Single-Validator) or Stake (Multi-Validator) in the Sanctum group.

  2. Pick the LST pool and amount

    Choose an LST from the pool picker, or paste any Sanctum stake pool address for that program. Type how much SOL to stake.

  3. Read the quote and run

    The quote shows the LST you receive after the pool's deposit fee, the run fee and the relayer's fee. Press Run. At Done, the LST is in your balance.

In simulations against mainnet state, 0.1 SOL staked gave 0.081878147 jupSOL (sanctum.multi.stake), 0.083482996 hSOL (sanctum.single.stake), and 0.081532082 dSOL (sanctum.single.stake).

Unstake

  1. Open the hook

    On Balance, under Run a hook, press Unstake (Single-Validator) or Unstake (Multi-Validator) in the Sanctum group.

  2. Pick the LST pool and amount

    Choose the pool for the LST you hold (or paste its stake pool address) and type how much to unstake.

  3. Read the quote and run

    The quote checks the pool's SOL reserve and shows the SOL you receive after the pool's withdrawal fee, the run fee and the relayer's fee. Press Run.

The quote

The resolver reads the chosen StakePool account from chain and checks whether direct SOL deposits or withdrawals are open. It applies the pool's solDepositFee on stake or solWithdrawalFee on unstake, and on unstake it checks that the pool's reserveStake holds enough SOL to cover the withdrawal. If the pool restricts direct deposits or withdrawals, or its reserve is too low for the requested amount, the quote returns NO_ROUTE.

If the pool has not been updated for the current epoch, the resolver attaches the stake pool program's permissionless UpdateStakePoolBalance instruction beside the run so the transaction succeeds without a separate step. minimumOut applies your slippageBps to expectedOut, and the run fee and the relayer's fee come off what the run returns: Fees and POOK gives the rates.

What the run does at Sanctum

sanctum.single.stake and sanctum.multi.stake call DepositSol (instruction tag 14): native SOL leaves Pook's stage into the pool's reserve and the pool mints the LST into the stage's token account. sanctum.single.unstake and sanctum.multi.unstake call WithdrawSol (instruction tag 16): the LST is burned from the stage and native SOL returns from the pool's reserve in the same transaction.

Measured on a local network running the mainnet programs:

HookCompute unitsAccounts
sanctum.single.stake380,17726
sanctum.single.unstake308,43927
sanctum.multi.stake366,55426
sanctum.multi.unstake312,74227

What the chain shows

Each run shows the hook, the chosen stake pool, the amount in and the amount out. The stake pool records a deposit or a withdrawal made by Pook's stage, the same address for every holder. Your wallet is in neither.