Block {{ self.height }}
- hash
- {{self.hash}}
- target
- {{self.target}}
- timestamp
- {{self.block.header.time}}
- size
- {{self.block.size()}}
- weight
- {{self.block.weight()}}
%% if self.height.0 > 0 {
- previous blockhash
- {{self.block.header.prev_blockhash}}
%% }
%% if let Some(prev_height) = self.height.n().checked_sub(1) {
prev
%% } else {
prev
%% }
%% if self.height < self.best_height {
next
%% } else {
next
%% }
{{"Transaction".tally(self.block.txdata.len())}}
%% for tx in &self.block.txdata {
%% let txid = tx.txid();
- {{txid}}
%% }