Trait frame_system::offchain::SendTransactionTypes
source · pub trait SendTransactionTypes<LocalCall> {
type Extrinsic: ExtrinsicT<Call = Self::OverarchingCall> + Encode;
type OverarchingCall: From<LocalCall> + Encode;
}
Expand description
A definition of types required to submit transactions from within the runtime.
Required Associated Types§
sourcetype Extrinsic: ExtrinsicT<Call = Self::OverarchingCall> + Encode
type Extrinsic: ExtrinsicT<Call = Self::OverarchingCall> + Encode
The extrinsic type expected by the runtime.
sourcetype OverarchingCall: From<LocalCall> + Encode
type OverarchingCall: From<LocalCall> + Encode
The runtime’s call type.
This has additional bound to be able to be created from pallet-local Call
types.