Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/capi/rpc/mod.ts>known.smoldot.TransactionWatchEvent

[WIP] A framework for crafting interactions with Substrate chains
Latest
type alias known.smoldot.TransactionWatchEvent
import { type known } from "https://deno.land/x/capi@v0.1.1-beta.1/rpc/mod.ts";
const { TransactionWatchEvent } = known.smoldot;
definition:
| { event: "validated"; }
| { event: "broadcasted"; numPeers: number; }
| { event: "bestChainBlockIncluded"; block?: TransactionWatchEventBlock; }
| { event: "finalized"; block: TransactionWatchEventBlock; }
| { event: "error"; error: string; }
| { event: "invalid"; error: string; }
| { event: "dropped"; broadcasted: boolean; error: string; }