diff --git a/web/explorer/explorer-server/templates/pages/transaction.html b/web/explorer/explorer-server/templates/pages/transaction.html index 4a3295ba4..678bf2d27 100644 --- a/web/explorer/explorer-server/templates/pages/transaction.html +++ b/web/explorer/explorer-server/templates/pages/transaction.html @@ -1,348 +1,357 @@ {% extends "base.html" %} {% import "components/input.html" as input %} {% import "components/output.html" as output %} {% import "components/token_info_table.html" as token_info_table %} {% block body_classes %}overflow-y-scroll{% endblock %} {% block content %}

{{ title }}

{% if tx.is_coinbase %}
Coinbase
{% endif %}
Advanced
{% if is_token %} {% else %} {% endif %}
Transaction ID {{ tx_hex }}
Copy to clipboard
Token ID {% match token_hex %} {% when Some with (token_hex) %} {{ token_hex }}
Copy to clipboard
{% when None %} {% endmatch %}
Transaction ID {{ tx_hex }}
Copy to clipboard

General Details

Age
{{ timestamp|human_time }}
+
+
Final
+
+ {% match tx.block %}{% when Some with (block) %}{% if + block.is_final %}Yes{% else %}No{% endif %}{% when None + %}No{% endmatch %} +
+
+
Block
{% match tx.block %} {% when Some with (block_meta) %} {{ block_meta.height|to_i128|render_integer|safe }} ({{ confirmations|to_i128|render_integer|safe }} confirmation{% if confirmations|to_i128 > 1 %}s{% endif %}) {% when None %} Not mined yet {% endmatch %}
Unix Timestamp
{% match tx.block %} {% when Some with (block_meta) %} {{ block_meta.timestamp|to_i128|render_integer|safe }} {% when None %} Not mined yet {% endmatch %}
Size
{{ tx.size|u32_to_u64|render_human_size }} ({{ tx.size|to_i128|render_integer_smallify|safe }} B)
Mined On
{% match tx.block %} {% when Some with (block_meta) %}
{% when None %}
Not mined yet
{% endmatch %}
Total Input
{{ sats_input|render_sats|safe }} XEC
Total Output
{{ sats_output|render_sats|safe }} XEC
Fee
{{ (sats_input - sats_output)|max(0)|render_sats|safe }} XEC
{% if is_token %}

{{ token_section_title }}

{% call token_info_table::render(tx, slp_genesis_info, slp_meta, token_input, token_output, action_str, specification) %}
{% match slp_meta %}{% when Some with(entry) %}{% match slp_genesis_info %}{% when Some with(genesis_info) %} {% if entry.is_invalid %}

Error details

Total burnt {{ entry.actual_burn_amount|string_to_i128|render_token_amount(genesis_info.decimals)|safe }} {{ genesis_info.token_ticker|string_from_lossy_utf8 }}
Burns mint batons {% if entry.burns_mint_batons %}Yes{% else %}No{% endif %}
Error message {{ entry.burn_summary }}
{% endif %} {% when None %}{% endmatch %}{% when None %}{% endmatch %} {% endif %}

Transaction

Inputs ({{ tx.inputs.len() }})

{{ timestamp }}
Pre-XEC
(Nov 15, 2020)
Over Five
Years Old
Pre-BCH
(Aug 8, 2017)
{% for input in tx.inputs %} {% call input::render(loop.index0, input, tx, slp_genesis_info, sats_addr_prefix, tokens_addr_prefix) %} {% endfor %}

Outputs ({{ tx.outputs.len() }})

{% for output in tx.outputs %} {% call output::render(loop.index0, output, tx, slp_genesis_info, sats_addr_prefix, tokens_addr_prefix) %} {% endfor %}
{% endblock %}