diff --git a/frontend/src/app/components/reward-stats/reward-stats.component.html b/frontend/src/app/components/reward-stats/reward-stats.component.html index acd7b26c8..270c38265 100644 --- a/frontend/src/app/components/reward-stats/reward-stats.component.html +++ b/frontend/src/app/components/reward-stats/reward-stats.component.html @@ -13,21 +13,21 @@
-
Reward Per Tx
-
+
Avg Block Fees
+
- {{ rewardStats.rewardPerTx | amountShortener: 2 }} - sats/tx + {{ (rewardStats.feePerBlock / 100000000) | amountShortener: 4 }} + BTC/block
- +
Average Fee
+ ngbTooltip="Avg Tx Fee" placement="bottom" #averagefee [disableTooltip]="!isEllipsisActive(averagefee)">Avg Tx Fee
{{ rewardStats.feePerTx | amountShortener: 2 }} sats/tx diff --git a/frontend/src/app/components/reward-stats/reward-stats.component.ts b/frontend/src/app/components/reward-stats/reward-stats.component.ts index 1eda26cce..30bf26488 100644 --- a/frontend/src/app/components/reward-stats/reward-stats.component.ts +++ b/frontend/src/app/components/reward-stats/reward-stats.component.ts @@ -42,8 +42,8 @@ export class RewardStatsComponent implements OnInit { map((stats) => { return { totalReward: stats.totalReward, - rewardPerTx: stats.totalReward / stats.totalTx, feePerTx: stats.totalFee / stats.totalTx, + feePerBlock: stats.totalFee / 144, }; }) );