From fb035c0ffcd9c3cdecc6ec683308e55ac50c18ae Mon Sep 17 00:00:00 2001 From: Ivan Socolsky Date: Mon, 26 Oct 2015 19:30:57 -0300 Subject: [PATCH] receive address activity as json --- lib/blockchainexplorers/insight.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/blockchainexplorers/insight.js b/lib/blockchainexplorers/insight.js index f7699a6..cec4e70 100644 --- a/lib/blockchainexplorers/insight.js +++ b/lib/blockchainexplorers/insight.js @@ -74,6 +74,7 @@ Insight.prototype.getTransaction = function(txid, cb) { var args = { method: 'GET', url: url, + json: true, }; request(args, function(err, res, tx) { @@ -117,6 +118,7 @@ Insight.prototype.getAddressActivity = function(address, cb) { var args = { method: 'GET', url: url, + json: true, }; request(args, function(err, res, result) {