referrerpolicy=no-referrer-when-downgrade
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.

Object Safety§

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§