Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/polkadot/api/types/index.ts>ApiDecoration

Package publishing for deno.land/x/polkadot
Latest
interface ApiDecoration
import { type ApiDecoration } from "https://deno.land/x/polkadot@0.2.45/api/types/index.ts";

Type Parameters

ApiType extends ApiTypes

Properties

registry: Registry
runtimeVersion: RuntimeVersionPartial
rx: { call: QueryableCalls<"rxjs">; query: QueryableStorage<"rxjs">; }
tx: (extrinsic:
| Call
| Uint8Array
| string
) => SubmittableExtrinsic<ApiType>

Methods

findCall(callIndex: Uint8Array | string): CallFunction
findError(errorIndex: Uint8Array | string): RegistryError