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

    Interface ApiFarmsCreateStakingPoolBodyV1

    Parameters for creating a V1 staking pool.

    Use ApiFarmsCreateStakingPoolBody.

    interface ApiFarmsCreateStakingPoolBodyV1 {
        isSponsoredTx?: boolean;
        maxLockDurationMs: number;
        maxLockMultiplier: bigint;
        minLockDurationMs: number;
        minStakeAmount: bigint;
        stakeCoinType: string;
        walletAddress: string;
    }
    Index
    isSponsoredTx?: boolean

    Whether to request the sponsored transaction flow.

    maxLockDurationMs: number

    Maximum multiplier-bearing lock duration, in milliseconds.

    maxLockMultiplier: bigint

    Maximum lock multiplier in 18-decimal fixed-point units.

    minLockDurationMs: number

    Minimum accepted lock duration, in milliseconds.

    minStakeAmount: bigint

    Minimum principal for a position, in stake-coin base units.

    stakeCoinType: string

    Fully qualified Move type of the coin users will stake.

    walletAddress: string

    Address that creates the pool and receives its owner capability.