Module transaction_extensions

Module transaction_extensions 

Source
Expand description

This module contains implementations for common transaction extensions, each of which implements TransactionExtension, and can be used in conjunction with AnyOf to configure the set of transaction extensions which are known about when interacting with a chain.

Structs§

AnyOf
This accepts a tuple of TransactionExtensions, and will dynamically make use of whichever ones are actually required for the chain in the correct order, ignoring the rest. This is a sensible default, and allows for a single configuration to work across multiple chains.
ChargeAssetTxPayment
The ChargeAssetTxPayment transaction extension.
ChargeAssetTxPaymentParams
Parameters to configure the ChargeAssetTxPayment transaction extension.
ChargeTransactionPayment
The ChargeTransactionPayment transaction extension.
ChargeTransactionPaymentParams
Parameters to configure the ChargeTransactionPayment transaction extension.
CheckGenesis
The CheckGenesis transaction extension.
CheckMetadataHash
The CheckMetadataHash transaction extension.
CheckMortality
The CheckMortality transaction extension.
CheckMortalityParams
Parameters to configure the CheckMortality transaction extension.
CheckNonce
The CheckNonce transaction extension.
CheckNonceParams
Configure the nonce used.
CheckSpecVersion
The CheckSpecVersion transaction extension.
CheckTxVersion
The CheckTxVersion transaction extension.
VerifySignature
The VerifySignature extension. For V5 General transactions, this is how a signature is provided. The signature is constructed by signing a payload which contains the transaction call data as well as the encoded “additional” bytes for any extensions after this one in the list.

Enums§

CheckMetadataHashMode
Is metadata checking enabled or disabled?
VerifySignatureDetails
This allows a signature to be provided to the VerifySignature transaction extension.

Traits§

Params
The parameters (ie ExtrinsicParams::Params) can also have data injected into them, allowing Subxt to retrieve data from the chain and amend the parameters with it when online.
TransactionExtension
A single TransactionExtension has a unique name, but is otherwise the same as ExtrinsicParams in describing how to encode the extra and additional data.