Module

x/polkadot/api-base/types/storage.ts>StorageEntryBase

Package publishing for deno.land/x/polkadot
Go to Latest
interface StorageEntryBase
implements StorageEntryBaseAt<ApiType, F, A>
import { type StorageEntryBase } from "https://dotland.deno.dev/x/polkadot@0.2.35/api-base/types/storage.ts";

Type Parameters

ApiType extends ApiTypes
F extends AnyFunction
optional
A extends AnyTuple = AnyTuple

Properties

deprecated
at: <T extends Codec | any = ReturnCodec<F>>(hash: Hash | Uint8Array | string, ...args: Parameters<F>) => PromiseOrObs<ApiType, T>
creator: StorageEntry
deprecated
entriesAt: <T extends Codec | any = ReturnCodec<F>, K extends AnyTuple = A>(hash: Hash | Uint8Array | string, ...args: DropLast<Parameters<F>>) => PromiseOrObs<ApiType, [StorageKey<K>, T][]>
deprecated
keysAt: <K extends AnyTuple = A>(hash: Hash | Uint8Array | string, ...args: DropLast<Parameters<F>>) => PromiseOrObs<ApiType, StorageKey<K>[]>
deprecated
sizeAt: (hash: Hash | Uint8Array | string, ...args: Parameters<F>) => PromiseOrObs<ApiType, u64>
multi: ApiType extends "rxjs" ? StorageEntryObservableMulti<ReturnCodec<F>> : StorageEntryPromiseMulti<ReturnCodec<F>>