getAvatar
utility is designed to retrieve an avatar image
URL from an onchain identity provider for a given name.
Consider the utility instead of the hook when you
use it with Next.js or any Node.js backend.
Supported providers:
- Basenames
- ENS
Usage
Get Basename avatar:Returns
Promise<GetAvatarReturnType>