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

x/polkadot/types/codec/index.ts>Tuple

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

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>