Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.14/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
runtimeChain: Text
readonly
runtimeMetadata: Metadata
readonly
runtimeVersion: RuntimeVersion
readonly
rx: Pick<ApiInterfaceRx,
| "tx"
| "rpc"
| "query"
| "call"
>
readonly
stats: ProviderInterface["stats"] | undefined
readonly
type: ApiTypes

Methods

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