Trait subxt_core::config::ExtrinsicParams
source · pub trait ExtrinsicParams<T: Config>: ExtrinsicParamsEncoder + Sized + 'static {
type Params: RefineParams<T>;
// Required method
fn new(
client: &ClientState<T>,
params: Self::Params
) -> Result<Self, ExtrinsicParamsError>;
}
Expand description
This trait allows you to configure the “signed extra” and “additional” parameters that are a part of the transaction payload or the signer payload respectively.
Required Associated Types§
sourcetype Params: RefineParams<T>
type Params: RefineParams<T>
These parameters can be provided to the constructor along with
some default parameters that subxt
understands, in order to
help construct your ExtrinsicParams
object.
Required Methods§
sourcefn new(
client: &ClientState<T>,
params: Self::Params
) -> Result<Self, ExtrinsicParamsError>
fn new( client: &ClientState<T>, params: Self::Params ) -> Result<Self, ExtrinsicParamsError>
Construct a new instance of our ExtrinsicParams
.
Object Safety§
This trait is not object safe.