add latest block mined to the json grafana endpoint as well

This commit is contained in:
Marco van Dijk 2022-07-19 20:43:14 +02:00
parent 0b0a913fb7
commit 09adcf5c39

View File

@ -2870,7 +2870,9 @@ apiRouter.get("/grafana", async (req, res) => {
commissionFeeCostL2,
serviceUriFeeCostL1,
serviceUriFeeCostL2,
quotes: cmcQuotes
quotes: cmcQuotes,
latestBlockMinedL2: latestBlockInChain,
latestBlockMinedL1: latestL1Block
});
} catch (err) {
res.status(400).send(err);