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

x/smoldot2/index-deno.js>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/index-deno.js";

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

Constructors

new
JsonRpcDisabledError()