Interface AggregatorResult

interface AggregatorResult {
    amountInUsd?: number;
    amountOutUsd?: number;
    outputAmount: BN;
    createSwapData(params): SwapData;
    getSwapType(): SwapType;
}

Implemented by

Properties

amountInUsd?: number

Deprecated

This number is not important, so it won't be returned in the subsequential result.

amountOutUsd?: number

Deprecated

This number is not important, so it won't be returned in the subsequential result.

outputAmount: BN

Methods

Generated using TypeDoc