Function: useIBANs()
useIBANs(
params
?: {chain
:ChainId
|Chain
;profile
:string
;query
:{}
; }):UseQueryResult
<IBANsResponse
,Error
>
Parameters
Parameter | Type | Description |
---|---|---|
params ? | object | No required parameters. |
params.chain ? | ChainId | Chain | Fetch IBANs for a specific chain. |
params.profile ? | string | Fetch IBANs for a specific profile. |
params.query ? | QueryOptions <IBANsResponse > | See Tanstack Query - useQuery options. |
Returns
UseQueryResult
<IBANsResponse
, Error
>
Example
const {
data,
isLoading,
isError,
error,
refetch,
...moreUseQueryResults
} = useIBANs();