call_args

Function call_args 

Source
pub fn call_args<P: Payload>(
    payload: &P,
    metadata: &Metadata,
) -> Result<Vec<u8>, Error>
Expand description

Encode the bytes that will be passed to the “execute_view_function” Runtime API call, to execute the View Function represented by the given payload.