Skip to main content

sign_typed_data

Function sign_typed_data 

Source
pub fn sign_typed_data(
    wallet: &str,
    chain: &str,
    typed_data_json: &str,
    passphrase: Option<&str>,
    index: Option<u32>,
    vault_path: Option<&Path>,
) -> Result<SignResult, OwsLibError>
Expand description

Sign EIP-712 typed structured data. Returns hex-encoded signature. Only supported for EVM chains.