macro_rules! compose_call {
($node_metadata: expr, $pallet_name: expr, $call_name: expr $(, $args: expr) *) => { ... };
}Expand description
Generates the extrinsic’s call field for a given module and call passed as &str, if found in the metadata. Otherwise None is returned.
§Arguments
- ‘node_metadata’ - This crate’s parsed node metadata as field of the API.
- ‘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.