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>
import { types } from "https://dotland.deno.dev/x/polkadot@0.2.38/mod.ts";
const { Tuple } = types;

Constructors

new
Tuple(
registry: Registry,
Types: TupleTypes | TupleType,
value?: AnyTupleValue,
unnamed 3?: DefinitionSetter<Definition>,
)

Properties

readonly
encodedLength: number
readonly
Types: string[]

Methods

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

Static Methods

with(Types: TupleTypes | TupleType): CodecClass<Tuple>
import types.Tuple
import { types } from "https://dotland.deno.dev/x/polkadot@0.2.38/mod.ts";
const { Tuple } = types;