Last updated 13 days ago
This function is used to get the maximum exchange rate for a given token pair.
public async getMaxRateByPair( sourceToken: string, targetToken: string )
This function returns a string with the maximum exchange rate for the given token pair.
sourceToken
token address
The token being sold.
targetToken
The token being bought.