pub fn generate_extrinsic_with_pair(
client: &Client,
origin: Pair,
function: impl Into<RuntimeCall>,
nonce: Option<u32>,
) -> UncheckedExtrinsic
Expand description
Create a signed extrinsic from a runtime call and sign with the given key pair.