This function gets the total amount of liquidity available for a given token pair.
public async getLiquidityByPair(sourceToken: string, targetToken: string)
sourceToken
token address
The first token in the pair.
targetToken
The second token in the pair.
The total amount of liquidity contained by strategies in the pair.
Last updated 1 year ago