code: def get(self):
          
  
          pool = current_app.config['bigchain_pool']
  
          with pool() as bigchain:
              validators = bigchain.get_validators()
  
          return validators
docs: API endpoint to get validators set.
  
          Return:
              A JSON string containing the validator set of the current node.