Skip to main content
Module

x/polkadot/mod.ts>types.Tuple

Package publishing for deno.land/x/polkadot
Go to Latest
class types.Tuple
implements ITuple<Codec[]>
extends AbstractArray<Codec>
Re-export
import { types } from "https://deno.land/x/polkadot@0.2.12/mod.ts";
const { Tuple } = types;

Constructors

new
Tuple(
registry: Registry,
Types: TupleTypes | TupleType,
value?: AnyTupleValue,
unnamed 3?: Options,
)

Properties

readonly
encodedLength: number
readonly
optional
initialU8aLength: number
readonly
Types: string[]

Methods

inspect(): Inspect
toRawType(): string
toString(): string
toU8a(isBare?: boolean): Uint8Array

Static Methods

with(Types: TupleTypes | TupleType): CodecClass<Tuple>