Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

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

Constructors

new
Linkage(
registry: Registry,
Type: CodecClass | string,
value?: unknown,
)

Type Parameters

T extends Codec

Properties

readonly
next: Option<T>
readonly
previous: Option<T>

Methods

toRawType(): string
toU8a(): Uint8Array

Static Methods

withKey<O extends Codec>(Type: CodecClass | string): CodecClass<Linkage<O>>