Module

x/polkadot/mod.ts>typesCodec.AbstractBase

Package publishing for deno.land/x/polkadot
Go to Latest
class typesCodec.AbstractBase
implements Codec
Abstract
import { typesCodec } from "https://dotland.deno.dev/x/polkadot@0.2.38/mod.ts";
const { AbstractBase } = typesCodec;

Constructors

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

Type Parameters

T extends Codec

Properties

optional
createdAtHash: IU8a | undefined
readonly
encodedLength: number
readonly
hash: IU8a
optional
initialU8aLength: number | undefined
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