diff --git a/lib/expressapp.js b/lib/expressapp.js index 148e187..9f12330 100644 --- a/lib/expressapp.js +++ b/lib/expressapp.js @@ -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 = {}; diff --git a/package.json b/package.json index 7f25b9b..149e663 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "bitcore-wallet-service", "description": "A service for Mutisig HD Bitcoin Wallets", "author": "BitPay Inc", - "version": "0.0.23", + "version": "0.0.24", "keywords": [ "bitcoin", "copay",