useAddress hook is used to get an address from an onchain identity provider for a given name.
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
Returns
useQuery<Promise<GetAddressReturnType>>
Parameters
UseAddressOptions
UseAddressOptions
UseQueryOptions
UseQueryOptions