Module

x/polkadot/mod.ts>types.Linkage

Package publishing for deno.land/x/polkadot
Go to Latest
class types.Linkage
extends Struct
import { types } from "https://dotland.deno.dev/x/polkadot@0.2.35/mod.ts";
const { Linkage } = types;

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(isBare?: boolean): Uint8Array

Static Methods

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