Trait frame_system::offchain::CreateTransaction
source · pub trait CreateTransaction<LocalCall>: CreateTransactionBase<LocalCall> {
type Extension: TypeInfo;
// Required method
fn create_transaction(
call: <Self as CreateTransactionBase<LocalCall>>::RuntimeCall,
extension: Self::Extension,
) -> Self::Extrinsic;
}
Expand description
Interface for creating a transaction.
Required Associated Types§
Required Methods§
sourcefn create_transaction(
call: <Self as CreateTransactionBase<LocalCall>>::RuntimeCall,
extension: Self::Extension,
) -> Self::Extrinsic
fn create_transaction( call: <Self as CreateTransactionBase<LocalCall>>::RuntimeCall, extension: Self::Extension, ) -> Self::Extrinsic
Create a transaction using the call and the desired transaction extension.
Object Safety§
This trait is not object safe.