Skip to main content
Module

x/polkadot/types/types/index.ts>Codec

Package publishing for deno.land/x/polkadot
Go to Latest
interface Codec
Re-export
import { type Codec } from "https://deno.land/x/polkadot@0.2.33/types/types/index.ts";

Properties

optional
createdAtHash: IU8a
optional
initialU8aLength: number
optional
isStorageFallback: boolean
readonly
encodedLength: number
readonly
hash: IU8a
readonly
isEmpty: boolean
readonly
registry: Registry

Methods

eq(other?: unknown): boolean
inspect(isBare?: BareOpts): Inspect
toHex(isLe?: boolean): HexString
toHuman(isExtended?: boolean): AnyJson
toJSON(): AnyJson
toPrimitive(): AnyJson
toRawType(): string
toString(): string
toU8a(isBare?: BareOpts): Uint8Array