Properties of a SushiswapExchangeRateTask.

interface ISushiswapExchangeRateTask {
    inTokenAddress?: null | string;
    inTokenAmount?: null | number;
    outTokenAddress?: null | string;
    provider?: null | string;
    slippage?: null | number;
}

Implemented by

Properties

inTokenAddress?: null | string

The input token address.

inTokenAmount?: null | number

The amount of tokens to swap.

outTokenAddress?: null | string

The output token address.

provider?: null | string

The RPC provider to use for the swap.

slippage?: null | number

The allowable slippage in percent for the swap.