def METHOD_NAME(self, peer, num):
    client = RpcClient(self.nodes[peer])
    txs = []
    for _ in range(num):
        addr = client.rand_addr()
        tx_gas = client.DEFAULT_TX_GAS
        tx = client.new_tx(receiver=addr, nonce=self.genesis_nonce, value=21000, gas=tx_gas, data=b'')
        self.genesis_nonce += 1
        txs.append(tx)
    return txs