amount of sui to stake
address where the minted stsui will be transferred.
transaction block
amount of stsui to unstake
address where the redemmed sui will be transferred.
transaction block
Multipurpose onchain function that ideally has to be called right before and after change of epoch. Used to stake all the pending sui to the updated set of validators and convert all the staked sui to fungible sui when eligible.
transaction block
LST class has to be initialized to call key lst functions like mint, redeem and refresh.
Example