aftermath-ts-sdk - v3.3.3
    Preparing search index...

    Interface ApiStakeStakedSuiBody

    Inputs for building a transaction that restakes native StakedSui objects for afSUI.

    interface ApiStakeStakedSuiBody {
        isSponsoredTx?: boolean;
        referrer?: string;
        stakedSuiIds: string[];
        validatorAddress: string;
        walletAddress: string;
    }
    Index
    isSponsoredTx?: boolean

    Sponsorship flag accepted by the shared input shape. The current restake builder does not use it because it does not select a coin.

    referrer?: string

    Optional address recorded in the referral vault before restaking.

    stakedSuiIds: string[]

    Object IDs of the native StakedSui objects to combine into the Move vector.

    validatorAddress: string

    Active validator that receives the restaked objects.

    walletAddress: string

    Wallet address that owns the native staked SUI objects and receives afSUI.