code: def access_service_descriptor(price, consume_endpoint, service_endpoint, timeout, template_id):
          
          return (ServiceTypes.ASSET_ACCESS,
                  {'price': price, 'consumeEndpoint': consume_endpoint,
                   'serviceEndpoint': service_endpoint,
                   'timeout': timeout, 'templateId': template_id})
docs: Access service descriptor.
  
          :param price: Asset price, int
          :param consume_endpoint: url of the service provider, str
          :param service_endpoint: identifier of the service inside the asset DDO, str
          :param timeout: amount of time in seconds before the agreement expires, int
          :param template_id: id of the template use to create the service, str
          :return: Service descriptor.