    resolve(msg);
                    }, 50);
                } else {
                    resolve(data.responseText);
                }
            });
        }

        let returnable = await isResponseReady();
        return returnable;
    }

    async function loopTilAddressReceivesMoney(address, includeMempool) {
        let itReceivedMoney = false;

        async function isDataSetYet(data_i_seek) {
            return new Promise(function (resolve, reject) {
                if (!data_i_seek) {
     