Send amount to given addresses. payments - dict with {address: amount}
(self, fromaccount, payments, minconf=1, comment='', subtractfeefromamount=[])
| 712 | return lx(r) |
| 713 | |
| 714 | def sendmany(self, fromaccount, payments, minconf=1, comment='', subtractfeefromamount=[]): |
| 715 | """Send amount to given addresses. |
| 716 | |
| 717 | payments - dict with {address: amount} |
| 718 | """ |
| 719 | json_payments = {str(addr):float(amount)/COIN |
| 720 | for addr, amount in payments.items()} |
| 721 | r = self._call('sendmany', fromaccount, json_payments, minconf, comment, subtractfeefromamount) |
| 722 | return lx(r) |
| 723 | |
| 724 | def sendtoaddress(self, addr, amount, comment='', commentto='', subtractfeefromamount=False): |
| 725 | """Send amount to a given address""" |
no test coverage detected