OptionalexternalOptional third-party fee recipient and decimal fee ratio. The builder
requires a ratio greater than 0 and strictly less than 0.5.
OptionalisWhether the SUI coin-selection helper should build for a sponsored flow.
OptionalreferrerOptional address recorded in the referral vault before staking.
SUI amount to stake, in raw SUI units. 1_000_000_000n is 1 SUI.
Active validator that receives the native stake.
Wallet address that owns the SUI coin and receives the afSUI result.
Inputs for building a liquid-staking transaction that converts SUI to afSUI.
suiStakeAmountuses raw SUI units. The builder also requires the selected validator to be active and applies the external-fee bounds before it adds the transaction commands.