Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/smoldot2/index-nodejs.d.ts

Lightweight client for Substrate-based chains, such as Polkadot and Kusama.
Go to Latest
File
import { Client, ClientOptions } from './public-types.js';export { AddChainError, AddChainOptions, AlreadyDestroyedError, Chain, Client, ClientOptions, ClientOptionsWithBytecode, SmoldotBytecode, CrashError, QueueFullError, JsonRpcDisabledError, LogCallback } from './public-types.js';/** * Initializes a new client. This is a pre-requisite to connecting to a blockchain. * * Can never fail. * * @param options Configuration of the client. Defaults to `{}`. */export declare function start(options?: ClientOptions): Client;