eth_pubkey_to_address
Compute a 20-byte Ethereum address from a public key.
Accepts valid public keys of size 33
, 64
or 65
bytes. Note that not all byte arrays of acceptable length constitute valid public keys.
Since
0.13.5
Parameters
pubkey
the public key (33, 64 or 65 bytes)
Throws
exception
when
the given byte array does not have length
33
,64
or65
the given byte array is not a valid public key