Skip to main content

decode_request_fields

Function decode_request_fields 

Source
pub fn decode_request_fields(payload: &[u8]) -> Option<(String, String, String)>
Expand description

Extract (request_id, tool_name, args_json) from an approval_request payload — the fields a v2 approval_response must sign to bind the approval to the request identity.