async def fetch_markets(self, params={}):
    response = (await self.publicGetExchangeTicker(params))
    restrictions = (await self.publicGetExchangeRestrictions())
    restrictionsById = self.index_by(restrictions['restrictions'], 'currencyPair')
    result = []
    for i in range(0, len(response)):
        market = response[i]
        id = self.safe_string(market, 'symbol')
        (baseId, quoteId) = id.split('/')
        base = self.safe_currency_code(baseId)
        quote = self.safe_currency_code(quoteId)
        symbol = ((base + '/') + quote)
        coinRestrictions = self.safe_value(restrictionsById, symbol)
        precision = {'price': 5, 'amount': 8, 'cost': 8}
        limits = {'amount': {'min': math.pow(10, (- precision['amount'])), 'max': math.pow(10, precision['amount'])}}
        if coinRestrictions:
            precision['price'] = self.safe_integer(coinRestrictions, 'priceScale', 5)
            limits['amount']['min'] = self.safe_float(coinRestrictions, 'minLimitQuantity', limits['amount']['min'])
        limits['price'] = {'min': math.pow(10, (- precision['price'])), 'max': math.pow(10, precision['price'])}
        result.append({'id': id, 'symbol': symbol, 'base': base, 'quote': quote, 'baseId': baseId, 'quoteId': quoteId, 'active': True, 'precision': precision, 'limits': limits, 'info': market})
    return result
async def fetch_markets(self, params={}):
    response = (await self.publicGetExchangeTicker(params))
    restrictions = (await self.publicGetExchangeRestrictions())
    restrictionsById = self.index_by(restrictions['restrictions'], 'currencyPair')
    result = []
    for i in range(0, len(response)):
        market = response[i]
        id = self.safe_string(market, 'symbol')
        (baseId, quoteId) = id.split('/')
        base = self.safe_currency_code(baseId)
        quote = self.safe_currency_code(quoteId)
        symbol = ((base + '/') + quote)
        coinRestrictions = self.safe_value(restrictionsById, symbol)
        precision = {'price': 5, 'amount': 8, 'cost': 8}
        limits = {'amount': {'min': math.pow(10, (- precision['amount'])), 'max': math.pow(10, precision['amount'])}}
        if coinRestrictions:
            precision['price'] = self.safe_integer(coinRestrictions, 'priceScale', 5)
            limits['amount']['min'] = self.safe_float(coinRestrictions, 'minLimitQuantity', limits['amount']['min'])
        limits['price'] = {'min': math.pow(10, (- precision['price'])), 'max': math.pow(10, precision['price'])}
        result.append({'id': id, 'symbol': symbol, 'base': base, 'quote': quote, 'baseId': baseId, 'quoteId': quoteId, 'active': True, 'precision': precision, 'limits': limits, 'info': market})
    return result