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

x/polkadot/api/promise/index.ts>toPromiseMethod

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

Type Parameters

M extends DecorateFn<CodecReturnType<M>>

Parameters

method: M
optional
options: DecorateMethodOptions

Returns

StorageEntryPromiseOverloads