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

x/polkadot/types-codec/abstract/index.ts>AbstractBase

Package publishing for deno.land/x/polkadot
Go to Latest
class AbstractBase
implements Codec
Abstract
import { AbstractBase } from "https://deno.land/x/polkadot@0.2.28/types-codec/abstract/index.ts";

Constructors

new
protected
AbstractBase(
registry: Registry,
value: T,
initialU8aLength?: number,
)

Type Parameters

T extends Codec

Properties

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

Methods

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