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.SignedExtension

Additional data that could be attached to the transaction.

  • 1 class
classclass (Encode a, Decode a, Encode (AdditionalSigned a), Decode (AdditionalSigned a)) => SignedExtension a where
#

Means by which a transaction may be extended. This type embodies both the data and the logic that should be additionally associated with the transaction. It should be plain old data.

Associated types

  • type family AdditionalSigned a

    Any additional data that will go into the signed payload. This may be created dynamically from the transaction using the additional_signed function.

Methods

  • additional_signed :: JsonRpc m => a -> m (AdditionalSigned a)

    Construct any additional data that should be in the signed payload of the transaction. Can also perform any pre-signature-verification checks and return an error if needed.

Instances14SignedExtension, …