From f97e7016c582b541275e0f7c3760d52510338ede Mon Sep 17 00:00:00 2001 From: Rosco Kalis Date: Thu, 10 Sep 2020 19:39:35 +0200 Subject: [PATCH] Change url param name --- src/routes/v3/electrumx.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/v3/electrumx.js b/src/routes/v3/electrumx.js index 6df8b3c..5dbb4d0 100644 --- a/src/routes/v3/electrumx.js +++ b/src/routes/v3/electrumx.js @@ -50,7 +50,7 @@ class Electrum { _this.router.get('/', _this.root) _this.router.get('/utxos/:address', _this.getUtxos) _this.router.post('/utxos', _this.utxosBulk) - _this.router.get('/tx/data/:address', _this.getTransactionDetails) + _this.router.get('/tx/data/:txid', _this.getTransactionDetails) _this.router.post('/tx/data', _this.transactionDetailsBulk) _this.router.get('/block/headers/:height', _this.getBlockHeaders) _this.router.post('/block/headers', _this.blockHeadersBulk)