|
@ -108,7 +108,7 @@ Insight.prototype.getAddressActivity = function(addresses, cb) { |
|
|
Insight.prototype.estimateFee = function(nbBlocks, cb) { |
|
|
Insight.prototype.estimateFee = function(nbBlocks, cb) { |
|
|
var url = this.url + '/api/utils/estimatefee'; |
|
|
var url = this.url + '/api/utils/estimatefee'; |
|
|
if (nbBlocks) { |
|
|
if (nbBlocks) { |
|
|
url += '?nbBlocks=' + nbBlocks; |
|
|
url += '?nbBlocks=' + [].concat(nbBlocks).join(','); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
var args = { |
|
|
var args = { |
|
|