{{define "specific"}}{{$cs := .CoinShortcut}}{{$tx := .Tx}}

Transaction

{{$tx.Txid}}

Summary

{{- if $tx.Confirmations -}} {{end -}} {{- if $tx.Confirmations -}} {{end}} {{- if $tx.EthereumSpecific -}} {{- if $tx.EthereumSpecific.Status -}} {{- if eq $tx.EthereumSpecific.Status 1 -}} {{- else -}} {{- if eq $tx.EthereumSpecific.Status -1 -}} {{- else -}} {{- end -}} {{- end -}} {{- else -}} {{- end -}} {{- else -}} {{- end -}} {{- if $tx.FeesSat -}} {{end -}} {{- if not $tx.Confirmations}} {{end -}}
Mined Time {{formatUnixTime $tx.Blocktime}}
In Block {{if $tx.Confirmations}}{{$tx.Blockhash}}{{else}}Unconfirmed{{end}}
In Block Height {{$tx.Blockheight}}
StatusSuccessPendingUnknownFail
Value {{formatAmount $tx.ValueOutSat}} {{$cs}}
Gas Used / Limit {{if $tx.EthereumSpecific.GasUsed}}{{$tx.EthereumSpecific.GasUsed}}{{else}}pending{{end}} / {{$tx.EthereumSpecific.GasLimit}}
Gas Price {{formatAmount $tx.EthereumSpecific.GasPrice}} {{$cs}}
Total Input {{formatAmount $tx.ValueInSat}} {{$cs}}
Total Output {{formatAmount $tx.ValueOutSat}} {{$cs}}
Fees {{formatAmount $tx.FeesSat}} {{$cs}}
RBF {{- if $tx.Rbf}} ON {{- else -}} OFF️ {{end -}}

Details

{{template "txdetail" .}}
{{if eq .ChainType 1}} {{if $tx.EthereumSpecific.ParsedData}} {{if $tx.EthereumSpecific.ParsedData.Function }}
Input Data
{{if $tx.EthereumSpecific.ParsedData.Name}}
{{$tx.EthereumSpecific.ParsedData.Name}}
{{end}}{{if $tx.EthereumSpecific.ParsedData.MethodId}}
Method ID: {{$tx.EthereumSpecific.ParsedData.MethodId}}
{{end}} {{if $tx.EthereumSpecific.ParsedData.Function}}
Function: {{$tx.EthereumSpecific.ParsedData.Function}}
{{end}} {{if $tx.EthereumSpecific.ParsedData.Params}}
{{range $i,$p := $tx.EthereumSpecific.ParsedData.Params}} {{end}}
# Type Data
{{$i}} {{$p.Type}} {{range $j,$v := $p.Values}} {{if $j}}
{{end}} {{if hasPrefix $p.Type "address"}}{{$v}}{{else}}{{$v}}{{end}} {{end}}
{{end}}
{{end}} {{end}} {{end}}
Raw Transaction

    
{{end}}