• Amount that the chain returns is in the x / 10^(quoteDecimals - baseDecimals) format where x is a human readable number stringified

    Parameters

    • __namedParameters: {
          baseDecimals?: string | number;
          decimalPlaces?: number;
          quoteDecimals?: string | number;
          roundingMode?: RoundingMode;
          value: string | number | BigNumber;
      }
      • Optional baseDecimals?: string | number
      • Optional decimalPlaces?: number
      • Optional quoteDecimals?: string | number
      • Optional roundingMode?: RoundingMode
      • value: string | number | BigNumber

    Returns string

Generated using TypeDoc