| 
									
										
										
										
											2022-08-15 23:14:34 +00:00
										 |  |  | <div class="box preview-box" *ngIf="tx && !error"> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   <div class="page-title"> | 
					
						
							|  |  |  |     <h1 i18n="shared.transaction">Transaction</h1> | 
					
						
							| 
									
										
										
										
											2022-08-24 18:54:11 +00:00
										 |  |  |     <a class="tx-link" [routerLink]="['/tx/' | relativeUrl, txId]"> | 
					
						
							|  |  |  |       <span class="truncated">{{txId.slice(0,-4)}}</span><span class="last-four">{{txId.slice(-4)}}</span> | 
					
						
							|  |  |  |     </a> | 
					
						
							| 
									
										
										
										
											2022-08-15 23:14:34 +00:00
										 |  |  |     <div *ngIf="network !== 'liquid' && network !== 'liquidtestnet'" class="features"> | 
					
						
							|  |  |  |       <app-tx-features [tx]="tx"></app-tx-features> | 
					
						
							|  |  |  |       <span *ngIf="cpfpInfo && cpfpInfo.bestDescendant" class="badge badge-primary mr-1"> | 
					
						
							|  |  |  |         CPFP | 
					
						
							|  |  |  |       </span> | 
					
						
							|  |  |  |       <span *ngIf="cpfpInfo && !cpfpInfo.bestDescendant && cpfpInfo.ancestors.length" class="badge badge-info mr-1"> | 
					
						
							|  |  |  |         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-08-24 18:54:11 +00: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> | 
					
						
							|  |  |  |   </div> | 
					
						
							| 
									
										
										
										
											2022-08-15 23:14:34 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-08-22 19:12:04 +00:00
										 |  |  |   <div class="row graph-wrapper"> | 
					
						
							| 
									
										
										
										
											2022-08-24 18:54:11 +00:00
										 |  |  |     <tx-bowtie-graph [tx]="tx" [width]="1112" [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)"> | 
					
						
							|  |  |  |         {{ tx.feePerVsize | feeRounding }} <span class="symbol" i18n="shared.sat-vbyte|sat/vB">sat/vB</span> | 
					
						
							|  |  |  |       </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"> | 
					
						
							|  |  |  |         <table class="opreturns" *ngSwitchCase="'coinbase'"> | 
					
						
							|  |  |  |           <tbody> | 
					
						
							| 
									
										
										
										
											2022-08-15 23:14:34 +00:00
										 |  |  |             <tr> | 
					
						
							| 
									
										
										
										
											2022-08-22 19:12:04 +00:00
										 |  |  |               <td class="label">Coinbase</td> | 
					
						
							|  |  |  |               <td class="message">{{ tx.vin[0].scriptsig | hex2ascii }}</td> | 
					
						
							| 
									
										
										
										
											2022-08-15 23:14:34 +00:00
										 |  |  |             </tr> | 
					
						
							| 
									
										
										
										
											2022-08-22 19:12:04 +00:00
										 |  |  |           </tbody> | 
					
						
							|  |  |  |         </table> | 
					
						
							|  |  |  |         <table class="opreturns" *ngSwitchCase="'opreturn'"> | 
					
						
							|  |  |  |           <tbody> | 
					
						
							|  |  |  |             <ng-container *ngFor="let vout of opReturns.slice(0,3)"> | 
					
						
							|  |  |  |               <tr> | 
					
						
							|  |  |  |                 <td class="label">OP_RETURN</td> | 
					
						
							|  |  |  |                 <td *ngIf="vout.scriptpubkey_asm !== 'OP_RETURN'" class="message">{{ vout.scriptpubkey_asm | hex2ascii }}</td> | 
					
						
							|  |  |  |               </tr> | 
					
						
							|  |  |  |             </ng-container> | 
					
						
							|  |  |  |           </tbody> | 
					
						
							|  |  |  |         </table> | 
					
						
							|  |  |  |       </ng-container> | 
					
						
							| 
									
										
										
										
											2022-08-15 23:14:34 +00:00
										 |  |  |     </div> | 
					
						
							|  |  |  |   </div> | 
					
						
							|  |  |  | </div> |