Skip to content

Braga has been retired. The next public testnet is coming in September 2026. Read the announcement →

addr(value): AddrValue

Defined in: src/attr/values.ts:319

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.

string

AddrValue

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

addr("0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045")