diff --git a/backend/src/index.ts b/backend/src/index.ts index f8e30414c..bc2e47e0f 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -158,6 +158,7 @@ class Server { .get(config.MEMPOOL.API_URL_PREFIX + 'fees/mempool-blocks', routes.getMempoolBlocks) .get(config.MEMPOOL.API_URL_PREFIX + 'backend-info', routes.getBackendInfo) .get(config.MEMPOOL.API_URL_PREFIX + 'init-data', routes.getInitData) + .get(config.MEMPOOL.API_URL_PREFIX + 'validate-address/:address', routes.validateAddress) .get(config.MEMPOOL.API_URL_PREFIX + 'donations', async (req, res) => { try { const response = await axios.get('https://mempool.space/api/v1/donations', { responseType: 'stream', timeout: 10000 }); @@ -251,7 +252,6 @@ class Server { .get(config.MEMPOOL.API_URL_PREFIX + 'address/:address/txs', routes.getAddressTransactions) .get(config.MEMPOOL.API_URL_PREFIX + 'address/:address/txs/chain/:txId', routes.getAddressTransactions) .get(config.MEMPOOL.API_URL_PREFIX + 'address-prefix/:prefix', routes.getAddressPrefix) - .get(config.MEMPOOL.API_URL_PREFIX + 'validate-address/:address', routes.validateAddress) ; } }