Output {{self.outpoint}}
%% if let Some(inscriptions) = self.inscriptions.as_ref().filter(|inscriptions| !inscriptions.is_empty()) {
- inscriptions
-
%% for inscription in inscriptions {
{{Iframe::thumbnail(*inscription)}}
%% }
%% }
%% if let Some(runes) = self.runes.as_ref().filter(|runes| !runes.is_empty()) {
- runes
-
| rune |
balance |
%% for (rune, balance) in runes {
| {{ rune }} |
{{ balance }} |
%% }
%% }
- value
- {{ self.output.value.to_sat() }}
- script pubkey
- {{ self.output.script_pubkey.to_asm_string() }}
%% if let Ok(address) = self.chain.address_from_script(&self.output.script_pubkey ) {
- address
- {{ address }}
%% }
- transaction
- {{ self.outpoint.txid }}
- confirmations
- {{ self.confirmations }}
- spent
- {{ self.spent }}
%% if let Some(sat_ranges) = &self.sat_ranges {
{{"Sat Range".tally(sat_ranges.len())}}
%% for (start, end) in sat_ranges {
%% let value = end - start;
%% let last = end - 1;
%% if value == 1 {
- {{start}}
%% } else {
- {{start}}-{{last}} ({{value}} sats)
%% }
%% }
%% }