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

x/polkadot/types-codec/mod.ts>WrapperKeepOpaque

Package publishing for deno.land/x/polkadot
Go to Latest
class WrapperKeepOpaque
extends Bytes
import { WrapperKeepOpaque } from "https://deno.land/x/polkadot@0.2.17/types-codec/mod.ts";

Constructors

new
WrapperKeepOpaque(
registry: Registry,
typeName: CodecClass<T> | string,
value?: unknown,
unnamed 3?: Options,
)

Type Parameters

T extends Codec

Properties

readonly
isDecoded: boolean

Methods

inspect(): Inspect
toHuman(isExtended?: boolean): AnyJson
toRawType(): string
toString(): string

Static Methods

with<T extends Codec>(Type: CodecClass<T> | string): CodecClass<WrapperKeepOpaque<T>>