Properties of a PancakeswapExchangeRateTask.

interface IPancakeswapExchangeRateTask {
    inTokenAddress?: string;
    inTokenAmount?: number;
    outTokenAddress?: string;
    provider?: string;
    slippage?: number;
}

Implemented by

Properties

inTokenAddress?: string

The input token address.

inTokenAmount?: number

The amount of tokens to swap.

outTokenAddress?: string

The output token address.

provider?: string

The RPC provider to use for the swap.

slippage?: number

The allowable slippage in percent for the swap.