# eth_privkey_to_address · Rell standard library · Chromia Docs (concept)

> pure function eth_ privkey_ to_ address(privkey: byte_array ): byte_array Compute a 20-byte Ethereum address from a 32-byte private key. Parameters privkey

Source: https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/crypto/eth_privkey_to_address/

FUNCTION

# eth\_privkey\_to\_address

```signature
pure function eth_privkey_to_address(privkey: byte_array): byte_array
```

Compute a 20-byte Ethereum address from a 32-byte private key.

**Parameters**

* **privkey** — the 32-byte private key

**Throws**

* `exception` — if `privkey` is not `32` bytes

Since 0.13.5

[View this page on docs.chromia.com](https://docs.chromia.com/pages/rell-stdlib/-rell%20-system%20-library/crypto/eth_privkey_to_address.html)Generated API reference, mirrored from the live docs
