Module

x/polkadot/mod.ts>types.GenericMortalEra#toU8a

Package publishing for deno.land/x/polkadot
Go to Latest
method types.GenericMortalEra.prototype.toU8a
import { types } from "https://dotland.deno.dev/x/polkadot@0.2.38/mod.ts";
const { GenericMortalEra } = types;

Parameters

optional
_isBare: boolean

true when the value has none of the type-specific prefixes (internal) Period and phase are encoded:

  • The period of validity from the block hash found in the signing material.
  • The phase in the period that this transaction's lifetime begins (and, importantly, implies which block hash is included in the signature material). If the period is greater than 1 << 12, then it will be a factor of the times greater than 1<<12 that period is.

Returns

Uint8Array