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

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

Package publishing for deno.land/x/polkadot
Go to Latest
interface StorageEntryBase
implements StorageEntryBaseAt<ApiType, F, A>
import { type StorageEntryBase } from "https://deno.land/x/polkadot@0.2.12/api-base/types/index.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>>