Skip to main content

write_text_action_id

Function write_text_action_id 

Source
pub fn write_text_action_id(script_name: &str, text: &str) -> u64
Expand description

Synthetic confirmation id for a script WriteText payload.

Derived from the sanitized text as well as the script name, so an “Always Allow” grant covers only the exact text the user saw — the next payload from the same script prompts again.