jeduardogruiz
commited on
Commit
•
01fc750
1
Parent(s):
a6e4745
Create bloque.html
Browse files- bloque.html +50 -0
bloque.html
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
extends "layout.html" %}
|
2 |
+
|
3 |
+
{% block content %}
|
4 |
+
<div class="container">
|
5 |
+
<div class="row mt-4">
|
6 |
+
<h2>Block {{ block.number }}</h2>
|
7 |
+
<table class="table table-striped mt-4">
|
8 |
+
<tr>
|
9 |
+
<td>Timestamp</td>
|
10 |
+
<td>{{ block.timestamp }}</td>
|
11 |
+
</tr>
|
12 |
+
<tr>
|
13 |
+
<td>Transactions</td>
|
14 |
+
<td><a href="/transactions"></a>{{ block.transactions|length }} transactions</a></td>
|
15 |
+
</tr>
|
16 |
+
<tr>
|
17 |
+
<td>Miner</td>
|
18 |
+
<td>
|
19 |
+
<a href="/address?address={{ block.miner }}">{{ block.miner }}</a>
|
20 |
+
</td>
|
21 |
+
</tr>
|
22 |
+
<tr>
|
23 |
+
<td>Size</td>
|
24 |
+
<td>{{ block.size }}</td>
|
25 |
+
</tr>
|
26 |
+
<tr>
|
27 |
+
<td>Gas Limit</td>
|
28 |
+
<td>{{ block.gasLimit }}</td>
|
29 |
+
</tr>
|
30 |
+
<tr>
|
31 |
+
<td>Gas Used</td>
|
32 |
+
<td>{{ block.gasUsed }}</td>
|
33 |
+
</tr>
|
34 |
+
<tr>
|
35 |
+
<td>Base Fee Per Gas</td>
|
36 |
+
<td>{{ block.baseFeePerGas }}</td>
|
37 |
+
</tr>
|
38 |
+
<tr>
|
39 |
+
<td>Difficulty</td>
|
40 |
+
<td>{{ block.difficulty }}</td>
|
41 |
+
</tr>
|
42 |
+
<tr>
|
43 |
+
<td>Total Difficulty</td>
|
44 |
+
<td>{{ block.totalDifficulty }}</td>
|
45 |
+
</tr>
|
46 |
+
</table>
|
47 |
+
</div>
|
48 |
+
</div>
|
49 |
+
|
50 |
+
{% endblock %}
|