- Preparing search index...
- The search index is not available
rubic-sdk
Class SyncSwapPathFactory
Methods
Static
findAllPossiblePaths
- findAllPossiblePaths(tokenIn: string, tokenOut: string, routePools: RoutePools, enableHops?: boolean): Path[]
-
Parameters
-
tokenIn: string
-
tokenOut: string
-
-
enableHops: boolean = true
Returns Path[]
Static
hasLiquidity
- hasLiquidity(routePool: RoutePoolData, tokenInAddress?: string, amountOut?: BigNumber): boolean
-
Parameters
-
-
Optional
tokenInAddress: string
-
Optional
amountOut: BigNumber
Returns boolean