Skip to main content
Module

x/polkadot/mod.ts>types.StorageKey

Package publishing for deno.land/x/polkadot
Go to Latest
class types.StorageKey
implements IStorageKey<A>
extends Bytes
import { types } from "https://deno.land/x/polkadot@0.2.33/mod.ts";
const { StorageKey } = types;

Constructors

new
StorageKey(
registry: Registry,
value?:
| string
| Uint8Array
| StorageEntry
| [StorageEntry, unknown[]]
,
override?: Partial<StorageKeyExtra>,
)

Type Parameters

optional
A extends AnyTuple = AnyTuple

Properties

readonly
args: A
readonly
meta: StorageEntryMetadataLatest | undefined
readonly
method: string | undefined
readonly
outputType: string
readonly
section: string | undefined

Methods

is(key: IStorageKey<AnyTuple>): key is IStorageKey<A>
setMeta(
meta?: StorageEntryMetadataLatest,
section?: string,
method?: string,
): this
toHuman(): AnyJson
toRawType(): string