Skip to Content
API referenceOrbit EvmSrcComponentsgetAddress()

@tuwaio/orbit-monorepo


getAddress()

getAddress(name): Promise<`0x${string}` | null>

Defined in: packages/orbit-evm/src/utils/ensUtils.ts:81 

Fetches the Ethereum address associated with a given ENS name from the Ethereum Mainnet. Includes caching for performance.

Parameters

name

string

The ENS name to resolve (e.g., ‘vitalik.eth’).

Returns

Promise<`0x${string}` | null>

The associated Ethereum address (lowercase) or null if not found.

Last updated on