{% extends "label_edit.html" %} {% load bootstrap %} {% load i18n %} {% load sekizai_tags %} {% block label_edit_content %} {% include "_modal_add_label.html" %} {% if action == "labeling" %} {% if form.instance.type == "tx" %}

Inputs

{% for vin in res_tx.vin %}

New "input" Label {{ vin.txid|slice:"0:12" }}…{{ vin.txid|slice:"-"|slice:"-12:" }}:{{ vin.vout }} {{ vin.txid|slice:"0:4" }}…{{ vin.txid|slice:"-"|slice:"-4:" }}:{{ vin.vout }} {{ vin.txid|slice:"0:12" }}…{{ vin.txid|slice:"-"|slice:"-6:" }}:{{ vin.vout }}
{{ vin.prevout.value }} sats



{% endfor %}

Transaction

{% if res_tx.status.confirmed %}confirmed{% else %}unconfirmed{% endif %}
Transaction ID

{{ form.instance.ref }}

New "tx" Label
{% if  res_tx.status.block_height %}
Block Height
{# {{ res_tx.status.block_time }} #}

{{  res_tx.status.block_height }}

{{ res_tx.status.block_time }}
{% endif %}

Outputs

{% for vout in res_tx.vout %}
Output #{{ forloop.counter }}

{{ form.instance.ref }}:{{ forloop.counter0 }}

{{ vout.scriptpubkey_address }}

{{ vout.value }} sats

New "addr" Label New "output" Label

{% endfor %}
{% endif %} {% endif %} {% endblock %}