useAvatars
hook is used to get multiple avatar image URLs from an onchain identity
provider for an array of ENS names or Basenames in a single batch request.
It is implemented with useQuery from @tanstack/react-query
, and returns a UseQueryResult
object, allowing you to pass through all @tanstack/react-query
options.
useQuery<Promise<GetAvatarReturnType[]>>
UseAvatarsOptions
UseQueryOptions