code: def invoke_script(self, script, id=None, endpoint=None):
          
          return self._call_endpoint(INVOKE_SCRIPT, params=[script], id=id, endpoint=endpoint)
docs: Invokes a script that has been assembled
          Args:
              script: (str) a hexlified string of a contract invocation script, example '00c10b746f74616c537570706c796754a64cac1b1073e662933ef3e30b007cd98d67d7'
              id: (int, optional) id to use for response tracking
              endpoint: (RPCEndpoint, optional) endpoint to specify to use
          Returns:
              json object of the result or the error encountered in the RPC call