pub fn recover_eth_address_from_message(
message: &[u8],
signature: &[u8; 65],
) -> Result<H160, ()>Expand description
Recover an Ethereum address from a message hash and signature.
Rejects high-S signatures: EIP-2 for transactions, and EIP-7702 requires the same
s <= secp256k1n/2 bound on authorization tuples, so the check applies to every caller.
§Parameters
message: The message bytes to hashsignature: The 65-byte ECDSA signature (r, s, v)
§Returns
The recovered Ethereum address, or an error if recovery fails