HORIZON HASKELLDocslts/ghc-9.14.xd82dee82026-10-12Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · d82dee8 · 2026-10-12

Moduleweb3-polkadot-1.1.0.1Haskell2010

Network.Polkadot.Extrinsic.Era

An era to describe the longevity of a transaction.

  • 1 type
  • 3 values
datadata Era
#

The era for an extrinsic, indicating either a mortal or immortal extrinsic.

Constructors

  • ImmortalEra

    The ImmortalEra for an extrinsic.

  • MortalEra !Word32 !Word32

    The MortalEra for an extrinsic, indicating period and phase.

    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.

Instances5Eq, Ord, Show, Decode, Encode
  • Eq EraDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.Extrinsic.Era
  • Ord EraDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.Extrinsic.Era
  • Show EraDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.Extrinsic.Era
  • Decode EraDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.Extrinsic.Era
  • Encode EraDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.Extrinsic.Era
valuebirth :: (Integral a, Integral b) => Era -> a -> b
#

Get the block number of the start of the era whose properties this object describes that current belongs to.