Liquid Staking
Stake SUI for vSUI, Volo’s reward-bearing liquid staking token, from your own programmable transactions.
vSUI is the liquid staking token minted by Volo’s staking pool. The pool delegates staked SUI across a set of Sui validators and mints vSUI for the depositor. vSUI is a standard Sui Coin, so you can hold it, transfer it or pass it straight into another protocol in the same programmable transaction block (PTB).
How staking works
| Step | Where it runs | What happens |
|---|---|---|
| Stake | stake_pool::stake | Takes a Coin<SUI>, charges any stake fee and returns a Coin<CERT> (vSUI) at the current exchange rate. |
| Earn | Sui validators | Staking rewards accrue to the pool each epoch. Your vSUI balance stays the same; each vSUI becomes worth more SUI. |
| Unstake | stake_pool::unstake | Burns vSUI and returns Coin<SUI> at the current rate, less any unstake fee. Redemption is instant while the pool holds enough SUI. |
vSUI is reward-bearing, not rebasing. Its value comes from the exchange rate:
Token and objects
| Item | Value |
|---|---|
| Name and symbol | Volo Staked SUI, vSUI |
| Decimals | 9 (1 vSUI = 1,000,000,000 base units) |
| Coin type | 0x549e8b69270defbfafd4f94e17ec44cdbdd99820b33bda2278dea3b9a32d3f55::cert::CERT |
| Coin metadata | 0x8b0a4eab0d51cd298b87c2f26a5b20ccd70a0628dae2a38655d67405d20c3356 |
| Package to call (V2) | 0x68d22cf8bdbcd11ecba1e094922873e4080d4d11133e2443fddda0bfd11dae20 |
StakePool (shared) | 0x2d914e23d82fedef1b5f56a32d5c64bdcc3087ccfea2b4d6ea51a71f587840e5 |
Metadata<CERT> (shared) | 0x680cd26af32b2bde8d3361e804c53ec1d1cfe24c7f039eb7f549e8dfde389a60 |
| Sui system state | 0x5 |
The examples in this section share these IDs:
export const VOLO = {
// Latest package: Move calls go here. Changes when the contracts are upgraded.
packageId: '0x68d22cf8bdbcd11ecba1e094922873e4080d4d11133e2443fddda0bfd11dae20',
// Shared objects passed to stake and unstake
stakePool: '0x2d914e23d82fedef1b5f56a32d5c64bdcc3087ccfea2b4d6ea51a71f587840e5',
metadata: '0x680cd26af32b2bde8d3361e804c53ec1d1cfe24c7f039eb7f549e8dfde389a60',
// Coin type: always the original package ID
vsuiType: '0x549e8b69270defbfafd4f94e17ec44cdbdd99820b33bda2278dea3b9a32d3f55::cert::CERT',
} as const;The coin type always uses the original package ID. Move calls go to the latest package, which changes when the contracts are upgraded; check the deployment table before you ship.
Ways to integrate
| Option | Use it when | Entry points |
|---|---|---|
| Move calls in a PTB | You stake or unstake from a dApp or backend, or compose vSUI with other protocols. | stake, unstake |
| Stats API | You display the rate, APY or pool size, in any language. | GET /api/volo/stats |
| Swap routing | You want vSUI at market price instead of minting it. | The Astros aggregator SDK routes through the vSui liquidity source. |
Core Move functions
| Function | Purpose |
|---|---|
stake(pool, metadata, system, Coin<SUI>): Coin<CERT> | Stake SUI and return vSUI to the PTB. |
unstake(pool, metadata, system, Coin<CERT>): Coin<SUI> | Redeem vSUI and return SUI to the PTB. |
stake_entry / unstake_entry | Same, but transfer the result to the sender. |
get_amount_out(pool, metadata, amount_in, sui2lst): u64 | Quote the output after fees. |
get_ratio_reverse(pool, metadata): u64 | SUI per vSUI, with 9 decimals of precision. |
Every function, event and error code is in the Move API reference.
Requirements
@mysten/sui2.x. The examples use 2.39.1 with the gRPC client.- An ES module environment: Node.js with
"type": "module"or a bundler. - No API key. The stats API and the Move calls are public.