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

    Interface ApiFarmsStakeBodyV1

    Parameters for the deprecated V1 stake transaction builder.

    Use ApiFarmsStakeBody.

    interface ApiFarmsStakeBodyV1 {
        isSponsoredTx?: boolean;
        lockDurationMs: number;
        stakeAmount: bigint;
        stakeCoinType: string;
        stakingPoolId: string;
        walletAddress: string;
    }
    Index
    isSponsoredTx?: boolean

    Whether to request the sponsored transaction flow.

    lockDurationMs: number

    Requested lock duration, in milliseconds.

    stakeAmount: bigint

    Principal to stake, in the stake coin's base units.

    stakeCoinType: string

    Fully qualified Move type of the staked coin.

    stakingPoolId: string

    Staking pool object ID.

    walletAddress: string

    Address that supplies the coin and signs the transaction.