mirror of
https://github.com/mempool/mempool.git
synced 2025-01-10 15:30:05 +01:00
21 lines
1.0 KiB
HTML
21 lines
1.0 KiB
HTML
|
<div class="blocks-container" *ngIf="blocks.length">
|
||
|
<div *ngFor="let block of blocks; let i = index; trackBy: trackByBlocksFn" >
|
||
|
<div [routerLink]="['/block/', block.id]" [state]="{ data: { block: block } }" class="text-center bitcoin-block mined-block" id="bitcoin-block-{{ block.height }}" [ngStyle]="getStyleForBlock(block)">
|
||
|
<div class="block-height">
|
||
|
<a [routerLink]="['/block/', block.id]" [state]="{ data: { block: block } }">#{{ block.height }}</a>
|
||
|
</div>
|
||
|
<div class="block-body">
|
||
|
<div class="fees">
|
||
|
~{{ block.medianFee | ceil }} sat/vB
|
||
|
<br/>
|
||
|
<span class="yellow-color">{{ block.feeRange[0] | ceil }} - {{ block.feeRange[block.feeRange.length - 1] | ceil }} sat/vB</span>
|
||
|
</div>
|
||
|
<div class="block-size">{{ block.size | bytes: 2 }}</div>
|
||
|
<div class="transaction-count">{{ block.tx_count }} transactions</div>
|
||
|
<br /><br />
|
||
|
<div class="time-difference">{{ block.timestamp | timeSince : trigger }} ago</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|