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

x/smoldot2/no-auto-bytecode-deno.d.ts

Lightweight client for Substrate-based chains, such as Polkadot and Kusama.
Go to Latest
import * as mod from "https://deno.land/x/smoldot2@light-js-deno-v2.0.4/no-auto-bytecode-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.

Thrown in case the buffer of JSON-RPC requests is full and cannot accept any more request.

Functions

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