Skip to main content
Module

x/polkadot/api/base/Getters.ts>Getters

Package publishing for deno.land/x/polkadot
Go to Latest
class Getters
implements ApiDecoration<ApiType>
extends Init<ApiType>
Abstract
import { Getters } from "https://deno.land/x/polkadot@0.2.25/api/base/Getters.ts";

Type Parameters

ApiType extends ApiTypes

Properties

readonly
call: QueryableCalls<ApiType>
readonly
consts: QueryableConsts<ApiType>
readonly
derive: ReturnType<Getters<ApiType>["_decorateDerive"]>
readonly
errors: DecoratedErrors<ApiType>
readonly
events: DecoratedEvents<ApiType>
readonly
extrinsicVersion: number
readonly
genesisHash: Hash
readonly
isConnected: boolean
readonly
libraryInfo: string
readonly
query: QueryableStorage<ApiType>
readonly
queryMulti: QueryableStorageMulti<ApiType>
readonly
rpc: DecoratedRpc<ApiType, RpcInterface>
readonly
runtimeChain: Text
readonly
runtimeMetadata: Metadata
readonly
runtimeVersion: RuntimeVersion
readonly
rx: Pick<ApiInterfaceRx,
| "tx"
| "rpc"
| "query"
| "call"
>
readonly
stats: ProviderInterface["stats"] | undefined
readonly
tx: SubmittableExtrinsics<ApiType>
readonly
type: ApiTypes

Methods

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