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

    Normalized event emitted when SUI is staked for afSUI.

    The event covers both a new stake and a restake of native StakedSui. Amounts are raw SUI or afSUI balances. validatorFee is a decimal ratio.

    interface StakedEvent {
        afSuiAmount: bigint;
        afSuiId: string;
        epoch: bigint;
        isRestaked: boolean;
        referrer?: string;
        stakedSuiId: string;
        staker: string;
        suiId: string;
        suiStakeAmount: bigint;
        timestamp: number | undefined;
        txnDigest: string;
        type: string;
        validatorAddress: string;
        validatorFee: number;
    }

    Hierarchy (View Summary)

    Index
    afSuiAmount: bigint

    afSUI amount received, in raw afSUI units.

    afSuiId: string

    Object ID of the afSUI coin received by the staker.

    epoch: bigint

    Protocol epoch in which the stake occurred.

    isRestaked: boolean

    Whether the operation restaked an existing native staked SUI object.

    referrer?: string

    Referrer address recorded for the stake, when one was supplied.

    stakedSuiId: string

    Object ID of the newly created native staked SUI object.

    staker: string

    Address that performed the stake.

    suiId: string

    Object ID of the SUI coin consumed by the stake.

    suiStakeAmount: bigint

    SUI amount staked, in raw SUI units.

    timestamp: number | undefined

    Timestamp of the event, if available.

    txnDigest: string

    The transaction digest associated with the event.

    type: string

    A string identifying the Move event type.

    validatorAddress: string

    Validator that received the stake.

    validatorFee: number

    Validator fee as a decimal ratio. 0.01 represents 1%.