subxt_core::tx

Function create_partial_signed

source
pub fn create_partial_signed<T: Config, Call: Payload>(
    call: &Call,
    client_state: &ClientState<T>,
    params: <T::ExtrinsicParams as ExtrinsicParams<T>>::Params,
) -> Result<PartialTransaction<T>, Error>
Expand description

Create a partial extrinsic.

Note: if not provided, the default account nonce will be set to 0 and the default mortality will be immortal. This is because this method runs offline, and so is unable to fetch the data needed for more appropriate values.