Browse Source

REST endpoint

activeAddress
Ivan Socolsky 9 years ago
parent
commit
64665d3efe
No known key found for this signature in database GPG Key ID: FAECE6A05FAA4F56
  1. 1
      lib/expressapp.js

1
lib/expressapp.js

@ -459,6 +459,7 @@ ExpressApp.prototype.start = function(opts, cb) {
var opts = {}; var opts = {};
if (req.query.skip) opts.skip = +req.query.skip; if (req.query.skip) opts.skip = +req.query.skip;
if (req.query.limit) opts.limit = +req.query.limit; if (req.query.limit) opts.limit = +req.query.limit;
if (req.query.includeExtendedInfo == '1') opts.includeExtendedInfo = true;
server.getTxHistory(opts, function(err, txs) { server.getTxHistory(opts, function(err, txs) {
if (err) return returnError(err, res, req); if (err) return returnError(err, res, req);

Loading…
Cancel
Save