Function useSuiClientSuspenseQuery
- useSuiClientSuspenseQuery<
T extends SuiRpcMethodName,
TData = SuiRpcMethods[T]["result"],
>(
...args: undefined extends SuiRpcMethods[T]["params"]
? [
method: T,
params?: SuiRpcMethods[T]["params"],
options?: UndefinedInitialDataOptions<TData>,
]
: [
method: T,
params: SuiRpcMethods[T]["params"],
options?: UndefinedInitialDataOptions<TData>,
],
): UseSuspenseQueryResult<SuiRpcMethods[T]["result"], Error> Returns UseSuspenseQueryResult<SuiRpcMethods[T]["result"], Error>