Properties of a JupiterSwapTask.

interface IJupiterSwapTask {
    allowList?: IFilterList;
    baseAmount?: number;
    baseAmountString?: string;
    denyList?: IFilterList;
    inTokenAddress?: string;
    outTokenAddress?: string;
    quoteAmount?: number;
    quoteAmountString?: string;
    slippage?: number;
}

Implemented by

Properties

allowList?: IFilterList

A list of AMM markets to allow.

baseAmount?: number

The amount of in_token_address tokens to swap.

baseAmountString?: string

The amount of in_token_address tokens to swap.

denyList?: IFilterList

A list of AMM markets to deny.

inTokenAddress?: string

The input token address.

outTokenAddress?: string

The output token address.

quoteAmount?: number

The amount of out_token_address tokens to swap.

quoteAmountString?: string

The amount of out_token_address tokens to swap.

slippage?: number

The allowable slippage on the swap in decimal form (e.g. 0.5 is 0.5% slippage)