You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed the insight api on our own node as per your instructions here: https://github.com/bitpay/insight-api/tree/v0.3.0
The api and insight are both up and running on our nodes, so all good there, but when I try and get address info or unspents like so:
var testExplorer = new Insight(testConfig.testServer1.url, Networks.testnet);
testExplorer.getUnspentUtxos(testConfig.address2.address, function(e, utxos) { ...
Hi there,
I installed the insight api on our own node as per your instructions here:
https://github.com/bitpay/insight-api/tree/v0.3.0
The api and insight are both up and running on our nodes, so all good there, but when I try and get address info or unspents like so:
var testExplorer = new Insight(testConfig.testServer1.url, Networks.testnet);
testExplorer.getUnspentUtxos(testConfig.address2.address, function(e, utxos) { ...
I got 404 errors, this is because the url part on the requests is simply /api/[rest of query] - as can be seen here: https://github.com/bitpay/bitcore-explorers/blob/master/lib/insight.js#L64
the path is actually /insight-api/[rest of query] - this is the insight-api default, on fixing this my unit tests all passed.
Is this an issue - or have I set insight-api up incorrectly?
The text was updated successfully, but these errors were encountered: