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

    Interface RouterTradeCoin

    Represents a coin and the associated amount and trade fee for a route or path.

    interface RouterTradeCoin {
        amount: bigint;
        tradeFee: bigint;
        type: string;
    }
    Index
    amount: bigint

    The amount in the coin's smallest unit. The JSON API encodes this bigint as a string ending in n, and the SDK restores it to bigint.

    tradeFee: bigint

    The trade fee charged in this coin's smallest unit.

    type: string

    The fully qualified Sui coin type.