JSON.parse(nonjson);
        json.forEach(function (tx) {
            tx["vout"].forEach(function (output, index) {
                if (output["scriptpubkey_address"] == address) {
                    txid = tx["txid"];
                    vout = index;
                    amt = output["value"];
                }
            });
        });
        return [txid, vout, amt];
    }

    async function addressOnceHadMoney(address, includeMempool) {
        let url = "https://mempool.space/" + mempoolNetwork + 