oxen-observer/templates/include/tx_fee.html

510 B

{% macro display(tx, show_zero=false) -%} {% set fee = (tx.info.rct_signatures.txnFee if 'rct_signatures' in tx.info and 'txnFee' in tx.info.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 %}