diff --git a/server.ts b/server.ts index ee5be69..aafdff5 100644 --- a/server.ts +++ b/server.ts @@ -122,10 +122,24 @@ controllers.forEach(controller => { app.get("/api", async (req, res) => { let blockDetails = await latestBlockDetails(); - let result = { "Name": "Epic Cash", "Symbol": "EPIC", "TotalSupply": 21000000, "CurrentSupply": blockDetails.coin_existence, "CurrentBlockReward": blockDetails.currentReward, - "Algorithms": "Cuckoo, RandomX, Pogprow", - "Target_Difficulty": { "Cuckoo": blockDetails.targetdifficultycuckaroo + blockDetails.targetdifficultycuckatoo, "RandomX": blockDetails.targetdifficultyrandomx, "Pogprow": blockDetails.targetdifficultyprogpow }, - "Total_Difficulty": { "Cuckoo": blockDetails.TotalCuckoo, "RandomX": blockDetails.TotalDifficultyRandomx, "Pogprow": blockDetails.TotalDifficultyProgpow }, + let result = { "Name": "Epic Cash", + "Symbol": "EPIC", + "TotalSupply": 21000000, + "CurrentSupply": blockDetails.coin_existence, + "ChainReward": 16, + "FoundationContribution" : blockDetails.foundationReward, + "CurrentBlockReward": blockDetails.userReward, + "Algorithms": "Cuckoo, RandomX, ProgPow", + "Target_Difficulty": { + "Cuckoo": blockDetails.targetdifficultycuckaroo + blockDetails.targetdifficultycuckatoo, + "RandomX": blockDetails.targetdifficultyrandomx, + "ProgPow": blockDetails.targetdifficultyprogpow + }, + "Total_Difficulty": { + "Cuckoo": blockDetails.TotalCuckoo, + "RandomX": blockDetails.TotalDifficultyRandomx, + "ProgPow": blockDetails.TotalDifficultyProgpow + }, "BlockHeight": blockDetails.block_height, "Blockchain": "MimbleWimble", "Homepage": "https://epic.tech", diff --git a/src/app/shared/components/footer/footer.component.html b/src/app/shared/components/footer/footer.component.html index 1cca9d7..e9b7a4d 100644 --- a/src/app/shared/components/footer/footer.component.html +++ b/src/app/shared/components/footer/footer.component.html @@ -27,6 +27,7 @@
+ API