Skip to main content
The getName utility is designed to retrieve a name from an onchain identity provider for a specific address. Consider the utility instead of the hook when you use it with Next.js or any Node.js backend.

Usage

Get ENS name from an address:
Get Basename from an address:
Get a sliced address when address does not have an ENS name:

Returns

See GetNameReturnType and GetName for more details.

Parameters

See GetNameReturnType and GetName for more details.