Skip to main content

Class: Address

dataEntities/address.Address

Ethereum/Arbitrum address class

Constructors

constructor

new Address(value)

Ethereum/Arbitrum address class

Parameters

NameTypeDescription
valuestringA valid Ethereum address. Doesn't need to be checksum cased.

Defined in

src/lib/dataEntities/address.ts:18

Properties

value

Readonly value: string

A valid Ethereum address. Doesn't need to be checksum cased.

Defined in

src/lib/dataEntities/address.ts:18

Methods

applyAlias

applyAlias(): Address

Find the L2 alias of an L1 address

Returns

Address

Defined in

src/lib/dataEntities/address.ts:43


undoAlias

undoAlias(): Address

Find the L1 alias of an L2 address

Returns

Address

Defined in

src/lib/dataEntities/address.ts:51