Skip to main content

parse_dispatchable_arguments

Function parse_dispatchable_arguments 

Source
pub fn parse_dispatchable_arguments(
    params: &[Param],
    raw_params: Vec<String>,
) -> Result<Vec<Value>, Error>
Expand description

Parses and processes raw string parameter values for a dispatchable function, mapping them to Value types.

ยงArguments

  • params: The metadata definition for each parameter of the corresponding dispatchable function.
  • raw_params: A vector of raw string arguments for the dispatchable function.