Function useSuiClientMutation
- useSuiClientMutation<T extends SuiRpcMethodName>(
method: T,
options?: UseSuiClientMutationOptions<T>,
): UseMutationResult<
SuiRpcMethods[T]["result"],
Error,
SuiRpcMethods[T]["params"],
unknown[],
> Returns UseMutationResult<
SuiRpcMethods[T]["result"],
Error,
SuiRpcMethods[T]["params"],
unknown[],
>