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

x/smoldot/index-deno.d.ts

Alternative client for Substrate-based chains.
Go to Latest
import * as smoldot from "https://deno.land/x/smoldot@light-js-deno-v0.6.32/index-deno.d.ts";

Classes

Thrown in case of a problem when initializing the chain.

Thrown in case the API user tries to use a chain or client that has already been destroyed.

Thrown in case the underlying client encounters an unexpected crash.

Thrown when trying to send a JSON-RPC message to a chain whose JSON-RPC system hasn't been enabled.

Functions

Initializes a new client. This is a pre-requisite to connecting to a blockchain.