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.
Identity
getName
The
Get Basename from an address:
Get a sliced address when address does not have an ENS name: