Module

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

Package publishing for deno.land/x/polkadot
Latest
interface Codec
import { type Codec } from "https://dotland.deno.dev/x/polkadot@0.2.45/types-codec/types/index.ts";

Properties

optional
createdAtHash: IU8a | undefined
optional
initialU8aLength: number | undefined
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
import Codec
import { Codec } from "https://dotland.deno.dev/x/polkadot@0.2.45/types-codec/types/index.ts";