Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/polkadot/types/extrinsic/ExtrinsicEra.ts>MortalEra#toU8a

Package publishing for deno.land/x/polkadot
Go to Latest
method MortalEra.prototype.toU8a
import { MortalEra } from "https://deno.land/x/polkadot@0.2.25/types/extrinsic/ExtrinsicEra.ts";

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