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. - Charge
Asset TxPayment - The
ChargeAssetTxPaymenttransaction extension. - Charge
Asset TxPayment Params - Parameters to configure the
ChargeAssetTxPaymenttransaction extension. - Charge
Transaction Payment - The
ChargeTransactionPaymenttransaction extension. - Charge
Transaction Payment Params - Parameters to configure the
ChargeTransactionPaymenttransaction extension. - Check
Genesis - The
CheckGenesistransaction extension. - Check
Metadata Hash - The
CheckMetadataHashtransaction extension. - Check
Mortality - The
CheckMortalitytransaction extension. - Check
Mortality Params - Parameters to configure the
CheckMortalitytransaction extension. - Check
Nonce - The
CheckNoncetransaction extension. - Check
Nonce Params - Configure the nonce used.
- Check
Spec Version - The
CheckSpecVersiontransaction extension. - Check
TxVersion - The
CheckTxVersiontransaction extension. - Verify
Signature - The
VerifySignatureextension. 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§
- Check
Metadata Hash Mode - Is metadata checking enabled or disabled?
- Verify
Signature Details - This allows a signature to be provided to the
VerifySignaturetransaction 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. - Transaction
Extension - A single
TransactionExtensionhas a unique name, but is otherwise the same asExtrinsicParamsin describing how to encode the extra and additional data.