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

x/polkadot/api/mod.ts>toPromiseMethod

Package publishing for deno.land/x/polkadot
Go to Latest
function toPromiseMethod
import { toPromiseMethod } from "https://deno.land/x/polkadot@0.2.27/api/mod.ts";

Type Parameters

M extends DecorateFn<CodecReturnType<M>>

Parameters

method: M
optional
options: DecorateMethodOptions

Returns

StorageEntryPromiseOverloads