hasLiquidityByPair

This function checks if a specific token pair has liquidity in one or more strategies.

public hasLiquidityByPair(sourceToken: string, targetToken: string))
NameTypeDescription

sourceToken

token address

The first token in the pair.

targetToken

token address

The second token in the pair.

Returns

True: the pair has active strategies.

False: the pair does not have active strategies.

Last updated