Added missing block header API (#630)

* header API frontend

* Block Header API endpoint added to Node.js backend

* updated package-lock.json

Co-authored-by: Rishabh <rishabh@Rajeshs-MacBook-Pro.local>
This commit is contained in:
RishabhandRishabh authored and GitHub committed 2021-07-19 02:26:16 +03:00
1 parent 853e2fcb8f
commit 2e54f4ca94
8 files changed
+54 -1

No files matched your search

@@ -114,6 +114,11 @@
<td i18n="block.nonce">Nonce</td>
<td>{{ block.nonce | decimal2hex }}</td>
</tr>
<tr>
<td i18n="block.header">Block Header Hex</td>
<td><a target="_blank" href="/api/block/{{block.id}}/header" title="click to view">view</a> </td>
</tr>
</tbody>
</table>
</div>