Macro substrate_api_client::compose_call [−][src]
macro_rules! compose_call { ($node_metadata : expr, $module : expr, $call_name : expr $(, $args : expr) *) => { ... }; }
Expand description
Generates the extrinsic’s call field for a given module and call passed as &str
Arguments
- ‘node_metadata’ - This crate’s parsed node metadata as field of the API.
- ‘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.