encode_runtime_api_inputs

Function encode_runtime_api_inputs 

Source
pub fn encode_runtime_api_inputs<Info, Resolver, Inputs>(
    trait_name: &str,
    method_name: &str,
    keys: Inputs,
    info: &Info,
    type_resolver: &Resolver,
) -> Result<Vec<u8>, RuntimeApiInputsEncodeError>
where Inputs: IntoEncodableValues, Info: RuntimeApiTypeInfo, Info::TypeId: Clone + Debug, Resolver: TypeResolver<TypeId = Info::TypeId>,
Expand description

Encode the inputs to a Runtime API.