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

x/polkadot/types/codec/index.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.37/types/codec/index.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>>