| 
									
										
										
										
											2020-07-11 00:17:13 +07:00
										 |  |  | <div class="container-xl"> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   <div class="title-block"> | 
					
						
							| 
									
										
										
										
											2021-11-28 14:23:52 +04:00
										 |  |  |     <h1><ng-template [ngIf]="blockHeight" i18n="shared.block-title">Block <ng-container *ngTemplateOutlet="blockTemplateContent"></ng-container></ng-template></h1> | 
					
						
							| 
									
										
										
										
											2020-07-11 00:17:13 +07:00
										 |  |  |   </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-11-28 14:23:52 +04:00
										 |  |  |   <ng-template #blockTemplateContent><a [routerLink]="['/block/' | relativeUrl, blockHash]">{{ blockHeight }}</a></ng-template> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-07-11 00:17:13 +07:00
										 |  |  |   <div class="clearfix"></div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-07-13 15:16:12 +07:00
										 |  |  |   <ng-template [ngIf]="!isLoading && !error"> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-03 10:11:30 -03:00
										 |  |  |     <div class="box block-container"> | 
					
						
							| 
									
										
										
										
											2020-07-13 15:16:12 +07:00
										 |  |  |       <div class="row"> | 
					
						
							| 
									
										
										
										
											2021-05-03 10:11:30 -03:00
										 |  |  |         <div class="col"> | 
					
						
							| 
									
										
										
										
											2020-07-13 15:16:12 +07:00
										 |  |  |           <table class="table table-borderless table-striped"> | 
					
						
							|  |  |  |             <tbody> | 
					
						
							|  |  |  |               <tr> | 
					
						
							| 
									
										
										
										
											2020-12-07 17:35:05 +07:00
										 |  |  |                 <td class="td-width" i18n="block.hash">Hash</td> | 
					
						
							| 
									
										
										
										
											2020-07-13 15:16:12 +07:00
										 |  |  |                 <td><a [routerLink]="['/block/' | relativeUrl, block.hash]" title="{{ block.hash }}">{{ block.hash | shortenString : 13 }}</a> <app-clipboard class="d-none d-sm-inline-block" [text]="block.hash"></app-clipboard></td> | 
					
						
							|  |  |  |               </tr> | 
					
						
							|  |  |  |               <tr> | 
					
						
							| 
									
										
										
										
											2020-12-07 17:35:05 +07:00
										 |  |  |                 <td i18n="transaction.timestamp|Transaction Timestamp">Timestamp</td> | 
					
						
							| 
									
										
										
										
											2020-07-13 15:16:12 +07:00
										 |  |  |                 <td> | 
					
						
							| 
									
										
										
										
											2021-09-15 10:56:30 +02:00
										 |  |  |                   ‎{{ block.time | date:'yyyy-MM-dd HH:mm' }} | 
					
						
							| 
									
										
										
										
											2020-07-13 15:16:12 +07:00
										 |  |  |                   <div class="lg-inline"> | 
					
						
							| 
									
										
										
										
											2021-05-18 11:20:17 -03:00
										 |  |  |                     <i class="symbol">(<app-time-since [time]="block.time / 1000" [fastRender]="true"></app-time-since>)</i> | 
					
						
							| 
									
										
										
										
											2020-07-13 15:16:12 +07:00
										 |  |  |                   </div> | 
					
						
							|  |  |  |                 </td> | 
					
						
							|  |  |  |               </tr> | 
					
						
							|  |  |  |           </table> | 
					
						
							|  |  |  |         </div> | 
					
						
							| 
									
										
										
										
											2021-05-03 10:11:30 -03:00
										 |  |  |         <div class="col"> | 
					
						
							| 
									
										
										
										
											2020-07-13 15:16:12 +07:00
										 |  |  |           <table class="table table-borderless table-striped"> | 
					
						
							|  |  |  |             <tbody> | 
					
						
							|  |  |  |               <tr> | 
					
						
							| 
									
										
										
										
											2020-12-07 17:35:05 +07:00
										 |  |  |                 <td class="td-width" i18n="block.previous_hash|Transaction Previous Hash">Previous hash</td> | 
					
						
							| 
									
										
										
										
											2020-07-13 15:16:12 +07:00
										 |  |  |                 <td><a [routerLink]="['/block/' | relativeUrl, block.previousBlockHash]" title="{{ block.hash }}">{{ block.previousBlockHash | shortenString : 13 }}</a> <app-clipboard class="d-none d-sm-inline-block" [text]="block.previousBlockHash"></app-clipboard></td> | 
					
						
							|  |  |  |               </tr> | 
					
						
							|  |  |  |           </table> | 
					
						
							|  |  |  |         </div> | 
					
						
							| 
									
										
										
										
											2020-07-11 00:17:13 +07:00
										 |  |  |       </div> | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-07-13 15:16:12 +07:00
										 |  |  |     <div class="clearfix"></div> | 
					
						
							| 
									
										
										
										
											2020-07-11 00:17:13 +07:00
										 |  |  | 
 | 
					
						
							|  |  |  |     <br> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-12-07 17:35:05 +07:00
										 |  |  |     <h2> | 
					
						
							|  |  |  |       <ng-container *ngTemplateOutlet="block.txs.length === 1 ? transactionsSingular : transactionsPlural; context: {$implicit: block.txs.length| number}"></ng-container> | 
					
						
							|  |  |  |       <ng-template #transactionsSingular let-i i18n="shared.transaction-count.singular">{{ i }} transaction</ng-template> | 
					
						
							|  |  |  |       <ng-template #transactionsPlural let-i i18n="shared.transaction-count.plural">{{ i }} transactions</ng-template> | 
					
						
							|  |  |  |     </h2> | 
					
						
							| 
									
										
										
										
											2020-07-13 15:16:12 +07:00
										 |  |  | 
 | 
					
						
							|  |  |  |     <ng-template ngFor let-tx [ngForOf]="block.txs"> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |       <div class="header-bg box" style="padding: 10px; margin-bottom: 10px;"> | 
					
						
							|  |  |  |         <a [routerLink]="['/tx/' | relativeUrl, tx.id]" [state]="{ data: tx }"> | 
					
						
							|  |  |  |           <span style="float: left;" class="d-block d-md-none">{{ tx.id | shortenString : 16 }}</span> | 
					
						
							|  |  |  |           <span style="float: left;" class="d-none d-md-block">{{ tx.id }}</span> | 
					
						
							|  |  |  |         </a> | 
					
						
							|  |  |  |         <div class="float-right"> | 
					
						
							| 
									
										
										
										
											2021-09-15 10:56:30 +02:00
										 |  |  |           ‎{{ tx.time | date:'yyyy-MM-dd HH:mm' }} | 
					
						
							| 
									
										
										
										
											2020-07-13 15:16:12 +07:00
										 |  |  |         </div> | 
					
						
							|  |  |  |         <div class="clearfix"></div> | 
					
						
							|  |  |  |       </div> | 
					
						
							|  |  |  |    | 
					
						
							| 
									
										
										
										
											2020-07-14 21:26:02 +07:00
										 |  |  |       <app-bisq-transfers [tx]="tx" [showConfirmations]="true"></app-bisq-transfers> | 
					
						
							| 
									
										
										
										
											2020-07-13 15:16:12 +07:00
										 |  |  |    | 
					
						
							|  |  |  |       <br> | 
					
						
							|  |  |  |     </ng-template> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   </ng-template> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-07-16 16:46:10 +07:00
										 |  |  |   <ng-template [ngIf]="isLoading && !error"> | 
					
						
							| 
									
										
										
										
											2020-07-13 15:16:12 +07:00
										 |  |  |     <div class="box"> | 
					
						
							|  |  |  |       <div class="row"> | 
					
						
							| 
									
										
										
										
											2021-05-03 10:11:30 -03:00
										 |  |  |         <div class="col"> | 
					
						
							| 
									
										
										
										
											2020-07-13 15:16:12 +07:00
										 |  |  |           <table class="table table-borderless table-striped"> | 
					
						
							|  |  |  |             <tbody> | 
					
						
							|  |  |  |               <tr> | 
					
						
							| 
									
										
										
										
											2020-12-07 17:35:05 +07:00
										 |  |  |                 <td class="td-width" i18n="block.hash">Hash</td> | 
					
						
							| 
									
										
										
										
											2020-07-13 15:16:12 +07:00
										 |  |  |                 <td><span class="skeleton-loader"></span></td> | 
					
						
							|  |  |  |               </tr> | 
					
						
							|  |  |  |               <tr> | 
					
						
							| 
									
										
										
										
											2020-12-07 17:35:05 +07:00
										 |  |  |                 <td i18n="transaction.timestamp|Transaction Timestamp">Timestamp</td> | 
					
						
							| 
									
										
										
										
											2020-07-13 15:16:12 +07:00
										 |  |  |                 <td><span class="skeleton-loader"></span></td> | 
					
						
							|  |  |  |               </tr> | 
					
						
							|  |  |  |           </table> | 
					
						
							|  |  |  |         </div> | 
					
						
							| 
									
										
										
										
											2021-05-03 10:11:30 -03:00
										 |  |  |         <div class="col"> | 
					
						
							| 
									
										
										
										
											2020-07-13 15:16:12 +07:00
										 |  |  |           <table class="table table-borderless table-striped"> | 
					
						
							|  |  |  |             <tbody> | 
					
						
							|  |  |  |               <tr> | 
					
						
							| 
									
										
										
										
											2020-12-07 17:35:05 +07:00
										 |  |  |                 <td class="td-width" i18n="block.previous_hash|Transaction Previous Hash">Previous hash</td> | 
					
						
							| 
									
										
										
										
											2020-07-13 15:16:12 +07:00
										 |  |  |                 <td><span class="skeleton-loader"></span></td> | 
					
						
							|  |  |  |               </tr> | 
					
						
							|  |  |  |           </table> | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |       </div> | 
					
						
							|  |  |  |     </div> | 
					
						
							| 
									
										
										
										
											2020-07-11 00:17:13 +07:00
										 |  |  |   </ng-template> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-07-16 16:46:10 +07:00
										 |  |  |   <ng-template [ngIf]="error"> | 
					
						
							|  |  |  |     <div class="clearfix"></div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <div class="text-center"> | 
					
						
							|  |  |  |       Error loading block | 
					
						
							|  |  |  |       <br> | 
					
						
							|  |  |  |       <i>{{ error.status }}: {{ error.statusText }}</i> | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  |   </ng-template> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-07-11 00:17:13 +07:00
										 |  |  | </div> |