TheDocumentation Index
Fetch the complete documentation index at: https://base-a060aa97-pat-schemav2-docs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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.
Usage
Get ENS names from multiple addresses:Returns
useQuery<Promise<GetNameReturnType[]>>
Parameters
UseNamesOptions
UseNamesOptions
UseQueryOptions
UseQueryOptions