Module

x/polkadot/mod.ts>types.GenericMortalEra

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

Constructors

new
GenericMortalEra(registry: Registry, value?:
| MortalMethod
| Uint8Array
| number[]
| string
)

Properties

readonly
encodedLength: number
readonly
period: INumber
readonly
phase: INumber

Methods

birth(current:
| BN
| bigint
| number
| string
): number
death(current:
| BN
| bigint
| number
| string
): number
toHuman(): any
toJSON(): any
toU8a(_isBare?: boolean): Uint8Array