diff --git a/static/templates/tx.html b/static/templates/tx.html
index 529255bb..73f4f685 100644
--- a/static/templates/tx.html
+++ b/static/templates/tx.html
@@ -75,12 +75,14 @@
Asset |
Total Input |
Total Output |
+ Fee |
{{- range $tokenTransfer := $tx.TokenTransferSummary -}}{{if $tokenTransfer}}
{{$tokenTransfer.Token}} {{formatDecodeBase64 $tokenTransfer.Symbol}} |
{{formatAmountWithDecimals $tokenTransfer.ValueIn $tokenTransfer.Decimals}} {{formatDecodeBase64 $tokenTransfer.Symbol}} |
{{formatAmountWithDecimals $tokenTransfer.Value $tokenTransfer.Decimals}} {{formatDecodeBase64 $tokenTransfer.Symbol}} |
+ {{formatAmountWithDecimals $tokenTransfer.Fee $tokenTransfer.Decimals}} {{formatDecodeBase64 $tokenTransfer.Symbol}} |
{{- end -}}{{- end -}}
diff --git a/static/templates/txdetail.html b/static/templates/txdetail.html
index f8316333..0422454e 100644
--- a/static/templates/txdetail.html
+++ b/static/templates/txdetail.html
@@ -80,6 +80,9 @@
{{- if $tx.FeesSat -}}
Fee: {{formatAmount $tx.FeesSat}} {{$cs}}
{{- end -}}
+ {{- range $tokenTransfer := $tx.TokenTransferSummary -}}{{if $tokenTransfer && $tokenTransfer.Fee > 0}}
+ Fee: {{formatAmountWithDecimals $tokenTransfer.Fee}} {{formatDecodeBase64 $tokenTransfer.Symbol}}
+ {{- end -}}{{- end -}}
{{- if $tx.Confirmations -}}