Skip to Content
API referenceOrbit EvmSrcComponentsgetName()

@tuwaio/satellite-connect-monorepo


getName()

getName(address): Promise<null | string>

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

Fetches the primary ENS name for a given Ethereum address from the Ethereum Mainnet.

Parameters

address

`0x${string}`

The Ethereum address to look up.

Returns

Promise<null | string>

The ENS name if found, otherwise null.

Last updated on