-
${txid}
+
${txid}
@@ -2789,6 +2784,22 @@
}, 500);
}, 1500);
});
+ function viewTransactionDetails(txid) {
+ const transactionRadio = document.querySelector('input[name="searchType"][value="transaction"]');
+ if (transactionRadio) {
+ transactionRadio.checked = true;
+ toggleSearchType("transaction");
+ }
+
+ // Show the transactions page
+ showPage("transactionsPage");
+
+ // Set the txid in the search input
+ document.getElementById("txHash").value = txid;
+
+ // Search for the transaction
+ searchTransactionDetails();
+}