From b6c14757bf6f34ac67cd936d318b397743151862 Mon Sep 17 00:00:00 2001 From: void-57 Date: Wed, 3 Dec 2025 16:09:49 +0530 Subject: [PATCH] Updates --- assets/{index-BAuABu-N.js => index-LR75N_xu.js} | 4 ++-- index.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename assets/{index-BAuABu-N.js => index-LR75N_xu.js} (99%) diff --git a/assets/index-BAuABu-N.js b/assets/index-LR75N_xu.js similarity index 99% rename from assets/index-BAuABu-N.js rename to assets/index-LR75N_xu.js index 4444456..cec8a2e 100644 --- a/assets/index-BAuABu-N.js +++ b/assets/index-LR75N_xu.js @@ -37882,11 +37882,11 @@ ${f.stack}` : o; window.updateURL && window.updateURL("tx", d), k.style.display = "none", h.style.display = "none", w.style.display = "none", Y && (Y.style.display = "none"), c.innerHTML = '
'; try { const V = await vo.getTransaction(d); - if (!V || V.error) { + if (!V) { c.innerHTML = '
Transaction not found.
'; return; } - const xt = V.status || "confirmed", ct = V.statusLabel || "Confirmed", at = V.statusColor || "#28a745", rt = xt === "confirmed" ? "fa-check-circle" : xt === "pending" ? "fa-clock" : "fa-exclamation-circle", pt = V.timestamp ? new Date(typeof V.timestamp == "string" ? V.timestamp : V.timestamp * 1e3).toLocaleString() : "Unknown Date", H = V.fees ? (Number(V.fees) / 1e6).toFixed(6) : "N/A", st = V.outputs ? V.outputs.reduce((Ze, Wt) => Ze + BigInt(Wt.value), 0n) : 0n, et = (Number(st) / 1e6).toFixed(6), Ot = V.outputs && V.outputs.length > 0 ? V.outputs[0] : null, kt = Ot ? (Number(BigInt(Ot.value)) / 1e6).toFixed(6) : "0.000000"; + const xt = V.status || "confirmed", ct = V.statusLabel || "Confirmed", at = V.statusColor || "#28a745", rt = xt === "confirmed" ? "fa-check-circle" : xt === "pending" ? "fa-clock" : "fa-exclamation-circle", pt = V.timestamp ? new Date(typeof V.timestamp == "string" ? V.timestamp : V.timestamp * 1e3).toLocaleString() : "Pending...", H = V.fees ? (Number(V.fees) / 1e6).toFixed(6) : "N/A", st = V.outputs ? V.outputs.reduce((Ze, Wt) => Ze + BigInt(Wt.value), 0n) : 0n, et = (Number(st) / 1e6).toFixed(6), Ot = V.outputs && V.outputs.length > 0 ? V.outputs[0] : null, kt = Ot ? (Number(BigInt(Ot.value)) / 1e6).toFixed(6) : "0.000000"; let Zt = V.inputs && V.inputs.length > 0 ? V.inputs[0].address : "Unknown", qe = Ot ? Ot.address : "Unknown"; Zt !== "Unknown" && (Zt = vo.hexToAddress(Zt)), qe !== "Unknown" && (qe = vo.hexToAddress(qe)); const Ge = V.message ? ` diff --git a/index.html b/index.html index e34d05c..f84bc9f 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,7 @@ rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" /> - +