Function: useAddress()
useAddress(
params
: {address
:string
;query
:{}
; }):UseQueryResult
<Address
,Error
>
Parameters
Parameter | Type | Description |
---|---|---|
params | object | |
params.address | string | Fetch a specific address. |
params.query ? | QueryOptions <Address > | See Tanstack Query - useQuery options. |
Returns
UseQueryResult
<Address
, Error
>
Example
const {
data,
isLoading,
isError,
error,
refetch,
...moreUseQueryResults
} = useAddress();