def new_address(self, label=None):
params = self.build_basic_request()<EOL>if label is not None:<EOL><INDENT>params['<STR_LIT:label>'] = label<EOL><DEDENT>response = util.call_api("<STR_LIT>".format(self.identifier), params, base_url=self.service_url)<EOL>json_response = json.loads(response)<EOL>self.parse_error(json_response)<EOL>return Address(<NUM_LIT:0>, json_response['<STR_LIT:address>'], json_response.get('<STR_LIT:label>'), <NUM_LIT:0>)<EOL>
Generate a new address and add it to the wallet.

        :param str label:  label to attach to this address (optional)
        :return: an instance of :class:`Address` class