summaryrefslogtreecommitdiff
path: root/rpcblockchainexplorer/templates/block.html
blob: 1bebc6e4d35902dd1e931e81d0e287081d22b51b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{% extends "layout.html" %}

{% block content %}
<table>
    {% for key_name in block.keys() %}
        <tr>
            <th>{{ key_name }}</th>
            <td>{{ block[key_name] }}</td>
        </tr>
    {% endfor %}
    {% if nextblockhash != None %}
        <tr>
            <th>nextblockhash</th>
            <td><a href="/block/{{ nextblockhash }}">{{ nextblockhash }}</a></td>
        </tr>
    {% endif %}
</table>

<h3>Transactions</h3>

<ul>
    {% for txid in txids %}
    <li><a href="/transaction/{{ txid }}">{{ txid }}</a></li>
    {% endfor %}
</ul>

{% endblock %}