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

x/smoldot2/no-auto-bytecode-nodejs.d.ts>JsonRpcDisabledError

Lightweight client for Substrate-based chains, such as Polkadot and Kusama.
Latest
class JsonRpcDisabledError
extends Error
import { JsonRpcDisabledError } from "https://deno.land/x/smoldot2@light-js-deno-v2.0.31/no-auto-bytecode-nodejs.d.ts";

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

Constructors

new
JsonRpcDisabledError()