pub fn sign_authorization(
wallet: &str,
chain: &str,
address: &str,
nonce: &str,
passphrase: Option<&str>,
index: Option<u32>,
vault_path: Option<&Path>,
) -> Result<SignResult, OwsLibError>Expand description
Sign an EIP-7702 authorization tuple.
This computes keccak256(0x05 || rlp([eip155_chain_id(chain), address, nonce]))
and signs the resulting digest via sign_hash.