referrerpolicy=no-referrer-when-downgrade
polkadot_sdk_frame::traits

Trait SignedTransactionBuilder

pub trait SignedTransactionBuilder: ExtrinsicCall {
    type Address;
    type Signature;
    type Extension;

    // Required method
    fn new_signed_transaction(
        call: Self::Call,
        signed: Self::Address,
        signature: Self::Signature,
        tx_ext: Self::Extension,
    ) -> Self;
}
Expand description

Interface for types capable of constructing a signed transaction.

Required Associated Types§

Required Methods§

fn new_signed_transaction( call: Self::Call, signed: Self::Address, signature: Self::Signature, tx_ext: Self::Extension, ) -> Self

Create a new signed transaction from a given call and extension using the provided signature data.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

§

impl<Address, Call, Signature, Extension> SignedTransactionBuilder for UncheckedExtrinsic<Address, Call, Signature, Extension>
where Address: TypeInfo, Call: TypeInfo, Signature: TypeInfo, Extension: TypeInfo,

§

type Address = Address

§

type Signature = Signature

§

type Extension = Extension

§

fn new_signed_transaction( call: <UncheckedExtrinsic<Address, Call, Signature, Extension> as ExtrinsicCall>::Call, signed: Address, signature: Signature, tx_ext: Extension, ) -> UncheckedExtrinsic<Address, Call, Signature, Extension>

Implementors§

impl<Address, Signature, E: EthExtra> SignedTransactionBuilder for UncheckedExtrinsic<Address, Signature, E>
where Address: TypeInfo, <E::Config as Config>::RuntimeCall: TypeInfo, Signature: TypeInfo, E::Extension: TypeInfo,