Skip to main content

address

Classes

Address

Ethereum/Arbitrum address class

Constructors

new Address()
new Address(value: string): Address

Ethereum/Arbitrum address class

Parameters
ParameterTypeDescription
valuestringA valid Ethereum address. Doesn't need to be checksum cased.
Returns

Address

Source

dataEntities/address.ts:18

Properties

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

Methods

applyAlias()
applyAlias(): Address

Find the L2 alias of an L1 address

Returns

Address

Source

dataEntities/address.ts:43

undoAlias()
undoAlias(): Address

Find the L1 alias of an L2 address

Returns

Address

Source

dataEntities/address.ts:51