Running full node and Insights


(Eduardo Valenzuela) #1

Hi Guys,

I have created an script to get utxos:

        var Insight = require('bitcore-explorers').Insight;
        var insight = new Insight(nodeUrl, network);

        insight.getUnspentUtxos(address, function (err, utxos) {
            if (err) {
                resolve({error: err.message});
            } else {
                resolve(utxos);
            }
        });

When I use as nodeurl: https://test-insight.bitpay.com, it returns utxos. But then I use the url of my custom node, it does not work, I have tried:

http://x.x.x.x:3001/insight-api/
http://x.x.x.x:3001/insight/

Am I using the incorrect url for my custom node? Any suggestions will be appreciated.

Thanks in advance.


(Remco vd Hondel) #2

what version of bitcoind are you running on your custom node? anything later then version 0.13 doesn’t contain the extra indexes, and the bitpay seems to have abandoned this repository, there is no answering on issues and in general there is no direction in development.