[][src]Macro vade_evan::compose_extrinsic

macro_rules! compose_extrinsic {
    ($metadata: expr,
	$module: expr,
	$call: expr
	$(, $args: expr) *) => { ... };
}

Generates an Unchecked extrinsic for a given module and call passed as a &str.

Arguments

  • 'api' - This instance of API. If the signer field is not set, an unsigned extrinsic will be generated.
  • 'module' - Module name as &str for which the call is composed.
  • 'call' - Call name as &str
  • 'args' - Optional sequence of arguments of the call. They are not checked against the metadata. As of now the user needs to check himself that the correct arguments are supplied.