Skip to content
This repository was archived by the owner on Oct 30, 2024. It is now read-only.
Nikhil Ranjan edited this page Sep 22, 2022 · 3 revisions

The building blocks for each blockchain. As such there are a number of examples for working with blocks and headers, that could be useful.

How do I retrieve the header/extrinsic hash from blocks?

A block hash refers to the hash over the header, the extrinsic hash refers to the hash of the encoded extrinsic. Since all objects returned by the API implements the .hash => Hash getter, we can simply use this to view the actual hash.

Clone this wiki locally