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

    Interface ApiRouterTransactionForCompleteTradeRouteBody

    Represents the information needed to create a transaction for a complete trade route.

    interface ApiRouterTransactionForCompleteTradeRouteBody {
        completeRoute: RouterCompleteTradeRoute;
        customRecipient?: string;
        isSponsoredTx?: boolean;
        slippage: number;
        walletAddress: string;
    }
    Index

    The route returned by getCompleteTradeRouteGivenAmountIn or getCompleteTradeRouteGivenAmountOut.

    customRecipient?: string

    An optional recipient for the output coin instead of the wallet sender.

    isSponsoredTx?: boolean

    When true, asks the API to build a transaction compatible with sponsored gas handling.

    slippage: number

    The allowable slippage for the complete route, as a decimal fraction. 0.01 represents 1%.

    walletAddress: string

    The Sui address that owns the input coin and signs the trade transaction.