web3-polkadot-1.0.1.0: Polkadot support for Haskell Web3 library.
CopyrightAleksandr Krupenkin 2016-2024
LicenseApache-2.0
Maintainermail@akru.me
Stabilityexperimental
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Network.Polkadot.Extrinsic.Payload

Description

Extrinsic payload and payload signing methods.

Synopsis

Documentation

type Payload call extra = (call, extra) Source #

A payload that has been signed for an unchecked extrinsics.

Note that the payload that we sign to produce unchecked extrinsic signature is going to be different than the Payload - so the thing the extrinsic actually contains.

sign_payload :: (MultiPair a, Encode c, SignedExtension e, JsonRpc m) => a -> Payload c e -> m (MultiSignature a) Source #

Sign extrinsic's payload by multi-pair.