getMaxRateByPair
This function is used to get the maximum exchange rate for a given token pair.
Name
Type
Description
sourceToken
token address
The token being sold.
targetToken
token address
The token being bought.
Returns
This function returns a string with the maximum exchange rate for the given token pair.
Last updated