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

x/polkadot/rpc-provider/index.ts>WsProvider#send

Package publishing for deno.land/x/polkadot
Latest
method WsProvider.prototype.send
import { WsProvider } from "https://deno.land/x/polkadot@0.2.45/rpc-provider/index.ts";

Type Parameters

optional
T = any

Parameters

method: string

The RPC methods to execute

params: unknown[]

Encoded parameters as applicable for the method

optional
isCacheable: boolean

Subscription details (internally used)

optional
subscription: SubscriptionHandler

Returns

Promise<T>