pub fn is_eth_derived(account_id: &AccountId32) -> bool
Expand description
Returns true if the passed account id is controlled by an eth key.
This is a stateless check that just compares the last 12 bytes. Please note that it is theoretically possible to create an ed25519 keypair that passed this filter. However, this can’t be used for an attack. It also won’t happen by accident since everybody is using sr25519 where this is not a valid public key.