Skip to main content
Module

x/capi/mod.ts>known.smoldot.ChainHeadUnstableFollowEvent

[WIP] A framework for crafting interactions with Substrate chains
Latest
type alias known.smoldot.ChainHeadUnstableFollowEvent
import { type known } from "https://deno.land/x/capi@v0.1.1-beta.1/mod.ts";
const { ChainHeadUnstableFollowEvent } = known.smoldot;
definition:
| { event: "initialized"; finalizedBlockHash: string; finalizedBlockRuntime?: MaybeRuntimeSpec; }
| { event: "newBlock"; blockHash: string; parentBlockHash: string; newRuntime?: MaybeRuntimeSpec; }
| { event: "bestBlockChanged"; bestBlockHash: string; }
| { event: "finalized"; finalizedBlockHashes: string[]; prunedBlockHashes: string[]; }
| { event: "stop"; }