From e2740b05eef49dfa389d1b17d1d9b2412b1173dd Mon Sep 17 00:00:00 2001 From: Alan Szepieniec Date: Wed, 13 Aug 2025 22:43:27 +0200 Subject: [PATCH] feat: Show and link confirming and spending blocks --- templates/web/html/page/utxo.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/templates/web/html/page/utxo.html b/templates/web/html/page/utxo.html index 4544ba5..f937586 100644 --- a/templates/web/html/page/utxo.html +++ b/templates/web/html/page/utxo.html @@ -75,6 +75,26 @@ {{release_date.standard_format()}} {% } %} + {% if let Some(confirmed_in) = utxo_info.confirmed_in_block() { %} + + Confirmed in Block: + {{confirmed_in.to_hex()}} + + {% } %} + {% if !utxo_info.spent_in_block().is_empty() { %} + + {% if utxo_info.spent_in_block().len() == 1 { %} + Spent in Block: + {% } else { %} + Spent in Blocks: + {% } %} + + {% for b in utxo_info.spent_in_block() { %} + {{b.to_hex()}} + {% } %} + + + {% } %} {% } %}