oxen-observer/templates/include/tx_fee.html
2022-12-21 16:57:40 -04:00

495 B

{% macro display(tx, show_zero=false) -%} {% set fee = (tx.rct_signatures.txnFee if 'rct_signatures' in tx and 'txnFee' in tx.rct_signatures else 0) -%} {% if fee > 0 or show_zero -%} {{ fee | oxen(tag=False, fixed=True, decimals=4) }} {%- if 'burn_amount' in tx.extra %} 🔥 {%-endif-%} {%endif-%} {% endmacro %}