Skip to main content
Module

x/polkadot/mod.ts>api.WsProvider#send

Package publishing for deno.land/x/polkadot
Go to Latest
method api.WsProvider.prototype.send
import { api } from "https://deno.land/x/polkadot@0.2.12/mod.ts";
const { WsProvider } = api;

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>