{{define "script"}} {{end}}{{define "css"}}{{end}}{{define "content"}} {{template "header" .}}

LBRY Transaction

{{.Tx.hash}}

Time Created

{{date .Tx.created_at "2 Jan 2006 15:04:05"}} UTC

Block Time

{{if not (trim .Tx.transaction_time)}}Not yet confirmed{{else}}{{date .Tx.transaction_time "2 Jan 2006 15:04:05"}} UTC{{end}} {{confirmationDelay .Tx}}
Amount (LBC)
{{amount .Tx.value ","}}
Block Height
{{if not (trim .Tx.block_hash_id)}}
Unconf.
{{else}} {{end}}
Confirmations
{{.Confirmations}}
Size (bytes)
{{grouped .Tx.transaction_size 0}}
Inputs
{{.Tx.input_count}}
Outputs
{{.Tx.output_count}}

Details

{{.Tx.input_count}} input{{if ne (num .Tx.input_count) 1.0}}s{{end}}
{{range $in := .Inputs}}
{{if truth $in.Row.is_coinbase}}
Block Reward (New Coins)
{{else}} {{if not (trim $in.Row.value)}}
Incomplete data
{{else}}{{if $in.Anchor}} {{end}}
{{amount $in.Row.value ","}} LBC from
{{$in.Address.address}} (output) {{if trim $in.Address.Tag}}
{{if trim $in.Address.TagUrl}}{{$in.Address.Tag}}{{else}}{{$in.Address.Tag}}{{end}}
{{end}}
{{end}} {{end}}
{{end}}
{{.Tx.output_count}} output{{if ne (num .Tx.output_count) 1.0}}s{{end}} {{if gt (num .Fee) 0.0}} Fee {{amount .Fee ","}} LBC {{end}}
{{range $out := .Outputs}}
{{if and $out.Row.Claim (or $out.Row.IsClaim $out.Row.IsSupportClaim $out.Row.IsUpdateClaim)}}View{{end}} {{if $out.Row.IsSupportClaim}}
SUPPORT
{{end}} {{if $out.Row.IsUpdateClaim}}
UPDATE
{{end}} {{if $out.Row.IsClaim}}
CLAIM
{{end}}
{{if not (trim $out.Row.value)}}
Incomplete data
{{else}}{{if $out.Anchor}} {{end}}
{{amount $out.Row.value ","}} LBC to
{{$out.Address.address}} {{if truth $out.Row.is_spent}}(spent){{else}}(unspent){{end}} {{if trim $out.Address.Tag}}
{{if trim $out.Address.TagUrl}}{{$out.Address.Tag}}{{else}}{{$out.Address.Tag}}{{end}}
{{end}}
{{end}}
{{end}}
{{end}}