def send_transaction(self, tx): self.write_command(op=CommandOp.NEW_TRANSACTION_LIST, cmd=NewTransactionListCommand([tx]))
def broadcast_tx_list(self, tx_list): self.write_command(op=CommandOp.NEW_TRANSACTION_LIST, cmd=NewTransactionListCommand(tx_list))