{{define "tx"}}
{{ template "header" . }}
Tx hash: {{.info.Hash}} Type {{.info.TransactionType }}
{{if eq .info.TransactionType "BURN" }}
Burns: {{.info.Burn_Value }} DERO
{{end}}
{{range $i, $e := .info.InvalidBlock}}
{{end}}
{{if eq .info.TransactionType "PREMINE"}}
{{index .info.OutAddress 0}} Registered with funds {{.info.Amount}} |
{{end}}
{{if eq .info.TransactionType "REGISTRATION"}}
{{index .info.OutAddress 0}} Registered |
{{end}}
{{if .info.SC_Install }}
SCID current reserves
SCID | Amount(in atomic units) |
{{range $k, $v := .info.SC_State.Balances}}
{{ $k }} | {{ $v }} |
{{end}}
SCID string variables
key | value |
{{range $k, $v := .info.SC_State.VariableStringKeys}}
{{ $k }} | {{ $v }} |
{{end}}
SCID uint64 variables
key | value |
{{range $k, $v := .info.SC_State.VariableUint64Keys}}
{{ $k }} | {{ $v }} |
{{end}}
{{end}}
{{if or (eq .info.TransactionType "NORMAL") (eq .info.TransactionType "BURN") (eq .info.TransactionType "SC") }}
Tx RootHash: {{.info.RootHash}} built height : {{.info.HeightBuilt}}
Timestamp: {{.info.Timestamp}} |
Timestamp [UTC]: {{.info.Block_time}} |
Age [y:d:h:m:s]: {{.info.Age}} |
Block: {{.info.Height}} |
Fee: {{.info.Fee}} |
Tx size: {{.info.Size}} kB |
Tx version: {{.info.Version}} |
No of confirmations: {{.info.Depth}} |
Signature type: {{.info.Type}} |
Extra: {{.info.Extra}} |
{{range $ii, $ee := .info.Assets}}
{{if eq $ee.SCID "0000000000000000000000000000000000000000000000000000000000000000" }}
DERO : {{$ee.Ring_size}} inputs/outputs (RING size) Fees {{$ee.Fees}}
{{if eq $.info.TransactionType "SC"}}
Deposited to SC {{$ee.Burn}}
{{else}}
Burned {{$ee.Burn}}
{{end}}
{{if eq $.info.TransactionType "SC"}}
Sender : {{ $.info.SC_Signer }}
{{end}}
{{else}}
Token: {{$ee.SCID}} {{$ee.Ring_size}} inputs/outputs (RING size) Fees {{$ee.Fees}} {{if eq $.info.TransactionType "SC"}}
Deposited Tokens to SC {{$ee.Burn}}
{{else}}
Burned {{$ee.Burn}}
{{end}}
{{end}}
address |
{{range $i, $e := $ee.Ring}}
{{ $e }} |
{{end}}
{{end}}
{{if eq .info.TransactionType "SC"}}
SC Balance: {{ .info.SC_Balance_string }} DERO |
SC CODE: {{ .info.SC_Code }} |
SC Arguments: {{ .info.SC_Args }} |
{{end}}
Prove to someone that you have sent them DERO in this transaction |
proof can be obtained using wallet
command in dero-wallet-cli or from the statement
Note: proof is sent to the server, as the calculations are done on the server side
|
|
{{if .info.Proof_amount }}
{{.info.Proof_address}} Received {{.info.Proof_amount}} DERO
{{if .info.Proof_Payload}}
Decoded Data {{ .info.Proof_Payload}}
Raw Data
{{ .info.Proof_Payload_raw}}
{{end}}
|
{{end}}
{{if .info.Proof_error }}
{{.info.Proof_error}}
|
{{end}}
{{end}}
TX hex bytes
{{ .info.Hex}}
{{if eq .info.CoinBase false}}
{{end}}
{{ template "footer" . }}
{{end}}