Skip to main content

validate_response

Function validate_response 

Source
pub fn validate_response(
    action: Action,
    payload: &str,
) -> Result<Value, Violation>
Expand description

Decodes and validates the CALLRESULT payload for action, returning it as JSON.