mempool/frontend/src/app/components/fees-box/fees-box.component.html

20 lines
966 B
HTML
Raw Normal View History

2020-07-29 17:30:30 +07:00
<table class="table mx-auto text-center" style="max-width: 550px">
<tr>
2020-07-29 17:30:30 +07:00
<td class="d-none d-md-table-cell border-top-0">1 hour</td>
<td class="border-top-0">30 minutes</td>
<td class="border-top-0">Next block</td>
</tr>
<tr *ngIf="(feeEstimations$ | async) as feeEstimations; else loadingFees">
2020-07-29 17:30:30 +07:00
<td class="d-none d-md-table-cell">{{ feeEstimations.hourFee }} sat/vB (<app-fiat [value]="feeEstimations.hourFee * 250"></app-fiat>)</td>
2020-07-29 16:54:08 +07:00
<td>{{ feeEstimations.halfHourFee }} sat/vB (<app-fiat [value]="feeEstimations.halfHourFee * 250"></app-fiat>)</td>
<td>{{ feeEstimations.fastestFee }} sat/vB (<app-fiat [value]="feeEstimations.fastestFee * 250"></app-fiat>)</td>
</tr>
<ng-template #loadingFees>
<tr>
2020-07-29 17:30:30 +07:00
<td class="d-none d-md-table-cell"><span class="skeleton-loader"></span></td>
<td><span class="skeleton-loader"></span></td>
<td><span class="skeleton-loader"></span></td>
</tr>
</ng-template>
</table>