FUNCTION
eth_privkey_to_address
function eth_privkey_to_address(privkey: byte_array): byte_arrayCompute a 20-byte Ethereum address from a 32-byte private key.
Parameters
- privkey — the 32-byte private key
Throws
exception— ifprivkeyis not32bytes
Since
0.13.5
© 2026 Chromia