from ..constants import TOKEN_API_ENDPOINTS

def _tokens_by_name(name: str=None,
                    limit: int=10,
                    fuzzy: bool=False) -> str:
    
    base_url = '{}?substring={}&limit={}'.format(TOKEN_API_ENDPOINTS['tokens_by_name'], name, limit, fuzzy)
    
    return base_url