This PR adds a simple data fetching route for tick liquidity of tokenA in a pair of tokenA<>tokenB using path /liquidity/token/{tokenA}/{tokenB}, the tick indexes returned here would be of the form tickIndexBToA.
To fetch the tokenB side it is expected that a front end client should fetch with a path of /liquidity/token/{tokenB}/{tokenA}, the result will have inverted tickIndexes as this endpoint would return tick indexes of tickIndexAToB.
This PR adds a simple data fetching route for tick liquidity of
tokenA
in a pair oftokenA<>tokenB
using path/liquidity/token/{tokenA}/{tokenB}
, the tick indexes returned here would be of the formtickIndexBToA
.To fetch the tokenB side it is expected that a front end client should fetch with a path of
/liquidity/token/{tokenB}/{tokenA}
, the result will have inverted tickIndexes as this endpoint would return tick indexes oftickIndexAToB
.