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

x/polkadot/api/types/storage.ts>StorageEntryBaseAt

Package publishing for deno.land/x/polkadot
Go to Latest
interface StorageEntryBaseAt
import { type StorageEntryBaseAt } from "https://deno.land/x/polkadot@0.2.14/api/types/storage.ts";

Type Parameters

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

Properties

entries: <T extends Codec | any = ReturnCodec<F>, K extends AnyTuple = A>(...args: DropLast<Parameters<F>>) => PromiseOrObs<ApiType, [StorageKey<K>, T][]>
entriesPaged: <T extends Codec | any = ReturnCodec<F>, K extends AnyTuple = A>(opts: PaginationOptions<Parameters<F>[0]>) => PromiseOrObs<ApiType, [StorageKey<K>, T][]>
hash: (...args: Parameters<F>) => PromiseOrObs<ApiType, Hash>
is: (key: IStorageKey<AnyTuple>) => key is IStorageKey<A>
key: (...args: Parameters<F>) => string
keyPrefix: (...args: DropLast<Parameters<F>>) => string
keys: <K extends AnyTuple = A>(...args: DropLast<Parameters<F>>) => PromiseOrObs<ApiType, StorageKey<K>[]>
keysPaged: <K extends AnyTuple = A>(opts: PaginationOptions<Parameters<F>[0]>) => PromiseOrObs<ApiType, StorageKey<K>[]>
size: (...args: Parameters<F>) => PromiseOrObs<ApiType, u64>