@@ -34,8 +34,10 @@ const {
3434 TOTAL_CONFIRMATIONS_7D ,
3535 TOTAL_CONFIRMATIONS_14D ,
3636 TOTAL_VOLUME_24H ,
37+ TOTAL_VOLUME_7D ,
3738 TOTAL_CONFIRMATIONS_48H ,
3839 TOTAL_VOLUME_48H ,
40+ TOTAL_VOLUME_14D ,
3941 CONFIRMATIONS_PER_SECOND ,
4042 NANOTICKER_STATS ,
4143 NANOBROWSERQUEST_PLAYERS ,
@@ -151,8 +153,10 @@ app.get("/api/market-statistics", async (req, res) => {
151153 const cachedConfirmations7d = nodeCache . get ( TOTAL_CONFIRMATIONS_7D ) ;
152154 const cachedConfirmations14d = nodeCache . get ( TOTAL_CONFIRMATIONS_14D ) ;
153155 const cachedVolume24h = nodeCache . get ( TOTAL_VOLUME_24H ) ;
156+ const cachedVolume7d = nodeCache . get ( TOTAL_VOLUME_7D ) ;
154157 const cachedConfirmations48h = nodeCache . get ( TOTAL_CONFIRMATIONS_48H ) ;
155158 const cachedVolume48h = nodeCache . get ( TOTAL_VOLUME_48H ) ;
159+ const cachedVolume14d = nodeCache . get ( TOTAL_VOLUME_14D ) ;
156160 const nanotpsStats = nodeCache . get ( NANOTPS_STATS ) ;
157161 const nanoSpeedStats = nodeCache . get ( NANOSPEED_STATS ) ;
158162
@@ -168,19 +172,19 @@ app.get("/api/market-statistics", async (req, res) => {
168172 cryptocurrency : req . query . cryptocurrency ,
169173 } ) ;
170174
171-
172175 res . send ( {
173176 [ TOTAL_CONFIRMATIONS_24H ] : cachedConfirmations24h ,
174177 [ TOTAL_CONFIRMATIONS_7D ] : cachedConfirmations7d ,
175178 [ TOTAL_CONFIRMATIONS_14D ] : cachedConfirmations14d ,
176179 [ TOTAL_VOLUME_24H ] : cachedVolume24h ,
180+ [ TOTAL_VOLUME_7D ] : cachedVolume7d ,
177181 [ TOTAL_CONFIRMATIONS_48H ] : cachedConfirmations48h ,
178182 [ TOTAL_VOLUME_48H ] : cachedVolume48h ,
183+ [ TOTAL_VOLUME_14D ] : cachedVolume14d ,
179184 [ BITCOIN_TOTAL_TRANSACTION_FEES_24H ] : btcTransactionFees24h ,
180185 [ BITCOIN_TOTAL_TRANSACTION_FEES_7D ] : btcTransactionFees7d ,
181186 [ BITCOIN_TOTAL_TRANSACTION_FEES_14D ] : btcTransactionFees14d ,
182187 [ BITCOIN_TOTAL_TRANSACTION_FEES_48H ] : btcTransactionFees48h ,
183- [ BITCOIN_TOTAL_TRANSACTION_FEES_48H ] : btcTransactionFees48h ,
184188 [ NANOTPS_STATS ] : nanotpsStats ,
185189 [ NANOSPEED_STATS ] : nanoSpeedStats ,
186190 ...marketStats ,
0 commit comments