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