referrerpolicy=no-referrer-when-downgrade
polkadot_sdk_frame

Module transaction

Source
Expand description

This is already part of the prelude.

Macros§

  • Helper macro to be used in a impl TransactionExtension block to add default implementations of weight, validate, prepare or any combinations of the them.

Structs§

Enums§

Traits§

  • Interface to differentiate between Runtime Origins authorized to include a transaction into the block and dispatch it, and those who aren’t.
  • Single-function utility trait with a blanket impl over TransactionExtension in order to provide transaction dispatching functionality. We avoid implementing this directly on the trait since we never want it to be overriden by the trait implementation.
  • Gets the metadata for the Call - function name and pallet name.
  • 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.

Type Aliases§