getName()
getName(
address
):Promise
<undefined
|string
>
Defined in: packages/pulsar-evm/src/utils/ensUtils.ts:23
Fetches the primary ENS name for a given Ethereum address. Performs the lookup on Ethereum Mainnet.
Parameters
address
`0x${string}`
The Ethereum address to look up.
Returns
Promise
<undefined
| string
>
The ENS name if found, otherwise undefined.
Last updated on