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

Transaction

{{$tx.Txid}}
{{- 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 -}} {{if $tx.VSize}} {{else}} {{if $tx.Size}} {{- end -}} {{- end -}} {{- 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 {{formatInt $tx.Blockheight}}
StatusSuccessPendingUnknownFail{{if $tx.EthereumSpecific.Error}} ({{$tx.EthereumSpecific.Error}}){{end}}
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}}
Size / vSize {{formatInt $tx.Size}} / {{formatInt $tx.VSize}}
Size {{formatInt $tx.Size}}
Fees {{formatAmount $tx.FeesSat}} {{$cs}}{{if $tx.Size}} ({{feePerByte $tx}}){{end}}
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}}