Skip to Content
API referenceOrbit EvmSrcComponentsgetAddress()

@tuwaio/satellite-connect-monorepo


getAddress()

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

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

Fetches the Ethereum address associated with a given ENS name from the Ethereum Mainnet.

Parameters

name

string

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

Returns

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

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

Last updated on