{% extends "base.html" %} {% block title %} {{ block.super }} - Routes{% endblock %} {% block content %} {% load humanize %} {% if route %}

Route For : {{ payment_hash }}{% if total_cost %} | Total Costs: {{ total_cost }} [{{ total_ppm }}]{% endif %}

{% for hop in route %} {% endfor %}
Attempt Id Step Amount Fee PPM Cost To 📍 Alias Channel ID Channel Capacity
{{ hop.attempt_id }} {{ hop.step }} {{ hop.amt|intcomma }} {{ hop.fee|intcomma }} {{ hop.ppm|intcomma }} {{ hop.cost_to|intcomma }} {% if hop.step == 1 %}📍{% else %}🔻{% endif %} {% if hop.alias == '' %}---{% else %}{{ hop.alias }}{% endif %} {{ hop.chan_id }} {{ hop.chan_capacity|intcomma }}
{% endif %} {% if not route %}

A route was not found for this payment hash!

{% endif %} {% include 'rebalances_table.html' with count=150 title='Rebalances' payment_hash=payment_hash %} {% if invoices %}

Linked Invoice

{% for invoice in invoices %} {% endfor %}
Created Settled Payment Hash Value Amount Paid State Channel In Alias Channel In Keysend
{{ invoice.creation_date|naturaltime }} {% if invoice.state == 1 %}{{ invoice.settle_date|naturaltime }}{% else %}---{% endif %} {{ invoice.r_hash }} {{ invoice.value|add:"0"|intcomma }} {% if invoice.state == 1 %}{{ invoice.amt_paid|intcomma }}{% else %}---{% endif %} {% if invoice.state == 0 %}Open{% elif invoice.state == 1 %}Settled{% elif invoice.state == 2 %}Canceled{% else %}{{ invoice.state }}{% endif %} {% if invoice.state == 1 %}{% if invoice.chan_in_alias == '' %}---{% else %}{{ invoice.chan_in_alias }}{% endif %}{% else %}---{% endif %} {% if invoice.state == 1 and invoice.chan_in != None %}{{ invoice.chan_in }}{% else %}---{% endif %} {% if invoice.keysend_preimage != None %}Yes{% else %}No{% endif %}
{% endif %} {% if outgoing_htlcs %}

Outgoing HTLCs

{% for htlc in outgoing_htlcs %} {% endfor %}
Channel ID Channel Alias Forwarding Channel Forwarding Alias Amount Expiration Hash Lock
{{ htlc.chan_id }} {% if htlc.alias == '' %}---{% else %}{{ htlc.alias }}{% endif %} {% if htlc.forwarding_channel == 0 %}---{% else %}{{ htlc.forwarding_channel }}{% endif %} {% if htlc.forwarding_alias == '' %}---{% else %}{{ htlc.forwarding_alias }}{% endif %} {{ htlc.amount|intcomma }} {{ htlc.hours_til_expiration }} hours {{ htlc.hash_lock }}
{% endif %} {% if incoming_htlcs %}

Incoming HTLCs

{% for htlc in incoming_htlcs %} {% endfor %}
Channel ID Channel Alias Forwarding Channel Forwarding Alias Amount Expiration Hash Lock
{{ htlc.chan_id }} {% if htlc.alias == '' %}---{% else %}{{ htlc.alias }}{% endif %} {% if htlc.forwarding_channel == 0 %}---{% else %}{{ htlc.forwarding_channel }}{% endif %} {% if htlc.forwarding_alias == '' %}---{% else %}{{ htlc.forwarding_alias }}{% endif %} {{ htlc.amount|intcomma }} {{ htlc.hours_til_expiration }} hours {{ htlc.hash_lock }}
{% endif %} {% endblock %}