def send_many(self, recipients, from_address=None, fee=None):
params = self.build_basic_request(read_only=False)<EOL>if len(recipients) == <NUM_LIT:1>:<EOL><INDENT>to_address, amount = recipients.popitem()<EOL>params['<STR_LIT:to>'] = to_address<EOL>params['<STR_LIT>'] = amount<EOL>method = '<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>params['<STR_LIT>'] = json.dumps(recipients)<EOL>method = '<STR_LIT>'<EOL><DEDENT>if from_address is not None:<EOL><INDENT>params['<STR_LIT>'] = from_address<EOL><DEDENT>if fee is not None:<EOL><INDENT>params['<STR_LIT>'] = fee<EOL><DEDENT>response = util.call_api("<STR_LIT>".format(self.identifier, method), params,<EOL>base_url=self.service_url)<EOL>json_response = json.loads(response)<EOL>self.parse_error(json_response)<EOL>payment_response = PaymentResponse(json_response['<STR_LIT:message>'],<EOL>json_response['<STR_LIT>'],<EOL>json_response.get('<STR_LIT>'))<EOL>return payment_response<EOL>
Send bitcoin from your wallet to multiple addresses.

        :param dictionary recipients: dictionary with the structure of 'address':amount
        :param str from_address: specific address to send from (optional)
        :param int fee: transaction fee in satoshi. Must be greater than the default
                        fee (optional).
        :return: an instance of :class:`PaymentResponse` class