useNames
hook is used to get multiple names from an onchain identity provider
for an array of addresses 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<GetNameReturnType[]>>
UseNamesOptions
UseQueryOptions