code: def rpcexec(self, payload):
          
          log.debug(json.dumps(payload))
          self.ws.send(json.dumps(payload, ensure_ascii=False).encode("utf8"))
docs: Execute a call by sending the payload
  
              :param dict payload: Payload data
              :raises ValueError: if the server does not respond in proper JSON format
              :raises RPCError: if the server returns an error