Skip to main content

Function: useIBANs()

useIBANs(params?: {chain: ChainId | Chain;profile: string;query: {}; }): UseQueryResult<IBANsResponse, Error>

Parameters

ParameterTypeDescription
params?objectNo required parameters.
params.chain?ChainId | ChainFetch IBANs for a specific chain.
params.profile?stringFetch 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();

See

API Documentation

Defined in

sdk-react-provider/src/lib/hooks.tsx:498