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

x/polkadot/types-codec/abstract/Object.ts>AbstractObject

Package publishing for deno.land/x/polkadot
Go to Latest
class AbstractObject
implements CodecObject<T>
Abstract
import { AbstractObject } from "https://deno.land/x/polkadot@0.2.28/types-codec/abstract/Object.ts";

Constructors

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

Properties

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

Methods

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