def get_pairs(self, base=None, show_details=False):
        """
        Function to fetch a list of trading pairs offered on the Switcheo decentralized exchange.
        Execution of this function is as follows::

            get_pairs()                  # Fetch all pairs
            get_pairs(base="SWTH")       # Fetch only SWTH base pairs
            get_pairs(show_details=True) # Fetch all pairs with extended information !Attention return value changes!

        The expected return result for this function is as follows::

            [
                'GAS_NEO',
                'SWTH_NEO',
                'MCT_NEO',
                'NKN_NEO',
                ....
                'SWTH_GAS',
                'MCT_GAS',
                'NKN_GAS',
                ....
                'MCT_SWTH',
                'NKN_SWTH'
            ]

        If you use the show_details parameter the server return a list with dictionaries as follows::

             [
                {'name': 'GAS_NEO', 'precision': 3},
                {'name': 'SWTH_NEO', 'precision': 6},
                {'name': 'ACAT_NEO', 'precision': 8},
                {'name': 'APH_NEO', 'precision': 5},
                {'name': 'ASA_NEO', 'precision': 8},
                ....
            ]

        :param base: The base trade pair to optionally filter available trade pairs.
        :type base: str
        :param show_details: Extended information for the pairs.
        :type show_details: bool
        :return: List of trade pairs available for trade on Switcheo.
        """
        api_params = {}
        if show_details:
            api_params["show_details"] = show_details
        if base is not None and base in ["NEO", "GAS", "SWTH", "USD", "ETH"]:
            api_params["bases"] = [base]
        return self.request.get(path='/exchange/pairs', params=api_params)