- Preparing search index...
- The search index is not available
rubic-sdk
Function compareCrossChainTrades
- compareCrossChainTrades(nextWrappedTrade: WrappedCrossChainTradeOrNull, prevWrappedTrade: WrappedCrossChainTradeOrNull, nativePriceForNextTrade?: BigNumber, nativePriceForPrevTrade?: BigNumber, compareWithoutTokenPrice?: boolean): number
-
Parameters
-
-
-
Optional
nativePriceForNextTrade: BigNumber
-
Optional
nativePriceForPrevTrade: BigNumber
-
Optional
compareWithoutTokenPrice: boolean
Returns number
Compares two cross chain trades for sorting algorithm.