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

    Interface PoolCreationCoinInfo

    An object describing how each coin in a newly created pool is configured, including initial deposit, weight, and fees.

    interface PoolCreationCoinInfo {
        coinType: string;
        decimals?: number;
        depositFee: bigint;
        initialDeposit: bigint;
        tradeFeeIn: bigint;
        tradeFeeOut: bigint;
        weight: bigint;
        withdrawFee: bigint;
    }
    Index
    coinType: string

    The Sui coin type deposited into the new pool.

    decimals?: number

    The coin's decimal precision, when the pool stores decimal metadata.

    depositFee: bigint

    The fixed-point fee for deposits of this coin.

    initialDeposit: bigint

    The initial deposit in the coin's smallest unit.

    tradeFeeIn: bigint

    The fixed-point fee for swaps that receive this coin.

    tradeFeeOut: bigint

    The fixed-point fee for swaps that pay this coin.

    weight: bigint

    The on-chain fixed-point weight assigned to the coin.

    withdrawFee: bigint

    The fixed-point fee for withdrawals of this coin.