Skip to main content
Module

x/capi/mod.ts>known.Header

[WIP] A framework for crafting interactions with Substrate chains
Latest
interface known.Header
import { type known } from "https://deno.land/x/capi@v0.1.1-beta.1/mod.ts";
const { Header } = known;

Abstraction over a block header for a substrate chain.

Properties

parentHash: string

The parent hash.

number: string

The block number.

stateRoot: string

The state trie merkle root

extrinsicsRoot: string

The merkle root of the extrinsics.

digest: Digest

A chain-specific digest of data useful for light clients or referencing auxiliary data.