macro_rules! compose_extrinsic_with_nonce {
($api: expr,
$nonce: expr,
$pallet_name: expr,
$call_name: expr
$(, $args: expr) *) => { ... };
}Expand description
Generates an UncheckedExtrinsic for the given pallet and call, if they are found within the metadata. Otherwise None is returned.
§Arguments
- ‘api’ - This instance of API. If the signer field is not set, an unsigned extrinsic will be generated.
- ‘nonce’ - signer’s account nonce: Index
- ‘pallet_name’ - Pallet name as &str for which the call is composed.
- ‘call_name’ - Call name as &str
- ‘args’ - Optional sequence of arguments of the call. They are not checked against the metadata.