| 
									
										
										
										
											2022-08-15 23:14:34 +00:00
										 |  |  | <div class="box preview-box" *ngIf="tx && !error"> | 
					
						
							| 
									
										
										
										
											2022-09-09 18:14:16 +00:00
										 |  |  |   <app-preview-title> | 
					
						
							|  |  |  |     <span i18n="shared.transaction">Transaction</span> | 
					
						
							|  |  |  |   </app-preview-title> | 
					
						
							| 
									
										
										
										
											2022-09-01 17:01:31 +00:00
										 |  |  |   <div class="row d-flex justify-content-between full-width-row"> | 
					
						
							|  |  |  |     <div class="title-wrapper"> | 
					
						
							| 
									
										
										
										
											2023-01-05 11:01:46 -06:00
										 |  |  |       <h1 class="title truncated"><app-truncate [text]="txId"></app-truncate></h1> | 
					
						
							| 
									
										
										
										
											2022-09-01 17:01:31 +00:00
										 |  |  |     </div> | 
					
						
							| 
									
										
										
										
											2022-08-15 23:14:34 +00:00
										 |  |  |     <div *ngIf="network !== 'liquid' && network !== 'liquidtestnet'" class="features"> | 
					
						
							|  |  |  |       <app-tx-features [tx]="tx"></app-tx-features> | 
					
						
							| 
									
										
										
										
											2023-03-29 05:45:49 +09:00
										 |  |  |       <span *ngIf="cpfpInfo && (cpfpInfo?.bestDescendant || cpfpInfo?.descendants?.length || cpfpInfo?.ancestors?.length)" class="badge badge-primary ml-1 mr-1"> | 
					
						
							| 
									
										
										
										
											2022-08-15 23:14:34 +00:00
										 |  |  |         CPFP | 
					
						
							|  |  |  |       </span> | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  |   </div> | 
					
						
							| 
									
										
										
										
											2022-08-24 18:54:11 +00:00
										 |  |  |   <div class="top-data row"> | 
					
						
							|  |  |  |     <span class="field col-sm-4 text-left"> | 
					
						
							|  |  |  |       <ng-template [ngIf]="isLiquid && haveBlindedOutputValues(tx)" [ngIfElse]="defaultAmount" i18n="shared.confidential">Confidential</ng-template> | 
					
						
							|  |  |  |       <ng-template #defaultAmount> | 
					
						
							|  |  |  |         <app-amount [satoshis]="totalValue"></app-amount> | 
					
						
							|  |  |  |       </ng-template> | 
					
						
							|  |  |  |     </span> | 
					
						
							| 
									
										
										
										
											2022-08-31 18:21:24 +00:00
										 |  |  |     <span class="field col-sm-4 text-center"><ng-container *ngIf="transactionTime > 0">‎{{ transactionTime * 1000 | date:'yyyy-MM-dd HH:mm' }}</ng-container></span> | 
					
						
							| 
									
										
										
										
											2022-10-13 17:15:17 +04:00
										 |  |  |     <span class="field col-sm-4 text-right"><span class="label" i18n="transaction.fee|Transaction fee">Fee</span> {{ tx.fee | number }} <span class="symbol" i18n="shared.sat|sat">sat</span></span> | 
					
						
							| 
									
										
										
										
											2022-08-24 18:54:11 +00:00
										 |  |  |   </div> | 
					
						
							| 
									
										
										
										
											2022-08-15 23:14:34 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-08-22 19:12:04 +00:00
										 |  |  |   <div class="row graph-wrapper"> | 
					
						
							| 
									
										
										
										
											2022-11-21 12:28:26 +09:00
										 |  |  |     <tx-bowtie-graph [tx]="tx" [width]="1132" [height]="346" [network]="network"></tx-bowtie-graph> | 
					
						
							| 
									
										
										
										
											2022-08-22 19:12:04 +00:00
										 |  |  |     <div class="above-bow"> | 
					
						
							| 
									
										
										
										
											2022-08-24 18:54:11 +00:00
										 |  |  |       <p class="field pair"> | 
					
						
							|  |  |  |         <span [innerHTML]="'‎' + (tx.size | bytes: 2)"></span> | 
					
						
							|  |  |  |         <span [innerHTML]="'‎' + (tx.weight | wuBytes: 2)"></span> | 
					
						
							| 
									
										
										
										
											2022-08-22 19:12:04 +00:00
										 |  |  |       </p> | 
					
						
							|  |  |  |       <p class="field" *ngIf="!isCoinbase(tx)"> | 
					
						
							| 
									
										
										
										
											2023-06-15 15:17:32 -04:00
										 |  |  |         <app-fee-rate [fee]="tx.feePerVsize"></app-fee-rate> | 
					
						
							| 
									
										
										
										
											2022-08-22 19:12:04 +00:00
										 |  |  |       </p> | 
					
						
							| 
									
										
										
										
											2022-08-15 23:14:34 +00:00
										 |  |  |     </div> | 
					
						
							| 
									
										
										
										
											2022-08-22 19:12:04 +00:00
										 |  |  |     <div class="overlaid"> | 
					
						
							|  |  |  |       <ng-container [ngSwitch]="extraData"> | 
					
						
							| 
									
										
										
										
											2022-11-19 20:27:39 +09:00
										 |  |  |         <div class="opreturns" *ngSwitchCase="'coinbase'"> | 
					
						
							|  |  |  |             <div class="opreturn-row"> | 
					
						
							| 
									
										
										
										
											2023-11-25 17:49:37 +09:00
										 |  |  |               <span class="label" i18n="transactions-list.coinbase">Coinbase</span> | 
					
						
							| 
									
										
										
										
											2022-11-19 20:27:39 +09:00
										 |  |  |               <span class="message">{{ tx.vin[0].scriptsig | hex2ascii }}</span> | 
					
						
							|  |  |  |             </div> | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |         <div class="opreturns" *ngSwitchCase="'opreturn'"> | 
					
						
							| 
									
										
										
										
											2022-08-22 19:12:04 +00:00
										 |  |  |             <ng-container *ngFor="let vout of opReturns.slice(0,3)"> | 
					
						
							| 
									
										
										
										
											2022-11-19 20:27:39 +09:00
										 |  |  |               <div class="opreturn-row"> | 
					
						
							|  |  |  |                 <span class="label">OP_RETURN</span> | 
					
						
							|  |  |  |                 <span *ngIf="vout.scriptpubkey_asm !== 'OP_RETURN'" class="message">{{ vout.scriptpubkey_asm | hex2ascii }}</span> | 
					
						
							|  |  |  |               </div> | 
					
						
							| 
									
										
										
										
											2022-08-22 19:12:04 +00:00
										 |  |  |             </ng-container> | 
					
						
							| 
									
										
										
										
											2022-11-19 20:27:39 +09:00
										 |  |  |         </div> | 
					
						
							| 
									
										
										
										
											2022-08-22 19:12:04 +00:00
										 |  |  |       </ng-container> | 
					
						
							| 
									
										
										
										
											2022-08-15 23:14:34 +00:00
										 |  |  |     </div> | 
					
						
							|  |  |  |   </div> | 
					
						
							|  |  |  | </div> |