|
|
@ -272,6 +272,17 @@ ExpressApp.start = function(opts) { |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
router.get('/v1/txproposals/:id/', function(req, res) { |
|
|
|
getServerWithAuth(req, res, function(server) { |
|
|
|
req.body.txProposalId = req.params['id']; |
|
|
|
server.getTx(req.body, function(err, tx) { |
|
|
|
if (err) return returnError(err, res, req); |
|
|
|
res.json(tx); |
|
|
|
res.end(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
router.get('/v1/txhistory/', function(req, res) { |
|
|
|
getServerWithAuth(req, res, function(server) { |
|
|
|
var opts = {}; |
|
|
|