integration-testing/test/cl_node/docker_node.py
def transfer_to_accounts(self, account_value_list) -> List[str]:
        """
        Allows batching calls to self.transfer_to_account to process in order.

        If from is not provided, the genesis account is used.

        :param account_value_list: List of [to_account_id, amount, Optional(from_account_id)]
        :return: List of block_hashes from transfer blocks.
        """
        block_hashes = []
        for avl in account_value_list:
            assert 2 <= len(avl) <= 3, \
                "Expected account_value_list as list of (to_account_id, value, Optional(from_account_id))"
            to_addr_id, amount = avl[:2]
            from_addr_id = 'genesis' if len(avl) == 2 else avl[2]
            block_hashes.append(self.transfer_to_account(to_addr_id, amount, from_addr_id))
        return block_hashes

        Allows batching calls to self.transfer_to_account to process in order.

        If from is not provided, the genesis account is used.

        :param account_value_list: List of [to_account_id, amount, Optional(from_account_id)]
        :return: List of block_hashes from transfer blocks.
        
Allows batching calls to self.transfer_to_account to process in order.
If from is not provided, the genesis account is used.
Allows batching calls to self . transfer_to_account to process in order . If from is not provided the genesis account is used .
def transfer_to_accounts(self, account_value_list) -> List[str]:
        block_hashes = []
        for avl in account_value_list:
            assert 2 <= len(avl) <= 3, \
                "Expected account_value_list as list of (to_account_id, value, Optional(from_account_id))"
            to_addr_id, amount = avl[:2]
            from_addr_id = 'genesis' if len(avl) == 2 else avl[2]
            block_hashes.append(self.transfer_to_account(to_addr_id, amount, from_addr_id))
        return block_hashes
def transfer_to_accounts ( self , account_value_list ) -> List [ str ] : block_hashes = [ ] for avl in account_value_list : assert 2 <= len ( avl ) <= 3 , "Expected account_value_list as list of (to_account_id, value, Optional(from_account_id))" to_addr_id , amount = avl [ : 2 ] from_addr_id = 'genesis' if len ( avl ) == 2 else avl [ 2 ] block_hashes . append ( self . transfer_to_account ( to_addr_id , amount , from_addr_id ) ) return block_hashes
Allows batching calls to self.transfer_to_account to process in order.
Allows batching calls to self . transfer_to_account to process in order .
"""
        Allows batching calls to self.transfer_to_account to process in order.

        If from is not provided, the genesis account is used.

        :param account_value_list: List of [to_account_id, amount, Optional(from_account_id)]
        :return: List of block_hashes from transfer blocks.
        """
List of block_hashes from transfer blocks.
List of block_hashes from transfer blocks .
self
account_value_list
List of [to_account_id, amount, Optional(from_account_id)]
List of [ to_account_id amount Optional ( from_account_id ) ]