Skip to main content
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://deno.land/x/polkadot@0.2.12/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