Call create_self_transfer and send the transaction.
(self, *, from_node, **kwargs)
| 258 | return utxos |
| 259 | |
| 260 | def send_self_transfer(self, *, from_node, **kwargs): |
| 261 | """Call create_self_transfer and send the transaction.""" |
| 262 | tx = self.create_self_transfer(**kwargs) |
| 263 | self.sendrawtransaction(from_node=from_node, tx_hex=tx['hex']) |
| 264 | return tx |
| 265 | |
| 266 | def send_to(self, *, from_node, scriptPubKey, amount, fee=1000): |
| 267 | """ |