pub fn sign_hash(
wallet: &str,
chain: &str,
hash_hex: &str,
passphrase: Option<&str>,
index: Option<u32>,
vault_path: Option<&Path>,
) -> Result<SignResult, OwsLibError>Expand description
Sign a raw 32-byte hash using the secp256k1 key for the selected chain.
The passphrase parameter accepts either the owner’s passphrase or an
API token (ows_key_...). Raw hash signing is only supported on
secp256k1-backed chains.