|
@ -74,6 +74,7 @@ Insight.prototype.getTransaction = function(txid, cb) { |
|
|
var args = { |
|
|
var args = { |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
url: url, |
|
|
url: url, |
|
|
|
|
|
json: true, |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
request(args, function(err, res, tx) { |
|
|
request(args, function(err, res, tx) { |
|
@ -117,6 +118,7 @@ Insight.prototype.getAddressActivity = function(address, cb) { |
|
|
var args = { |
|
|
var args = { |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
url: url, |
|
|
url: url, |
|
|
|
|
|
json: true, |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
request(args, function(err, res, result) { |
|
|
request(args, function(err, res, result) { |
|
|