# addr

> **addr**(`value`): [`AddrValue`](https://docs.arkiv.network/typescript-sdk/api-reference/main/type-aliases/addrvalue/)

Defined in: [src/attr/values.ts:323](https://github.com/Arkiv-Network/arkiv-sdk-js/blob/5182f6d142de34497e0057b9fb39dce64f96f65a/src/attr/values.ts#L323)

A 20-byte Ethereum address, indexed for equality.

All-lowercase and all-uppercase input carries no checksum and is accepted as-is; mixed-case
input is checked against its EIP-55 checksum, so a mistyped address is caught here rather than
being written to a wrong account. The stored value is always EIP-55 checksummed.

## Parameters

### value

`string`

## Returns

[`AddrValue`](https://docs.arkiv.network/typescript-sdk/api-reference/main/type-aliases/addrvalue/)

## Throws

If the value is not 20 hex bytes, or fails its EIP-55 checksum.

## Example

```ts
addr("0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045")
```