Type Alias UseSuiClientQueriesResults<Args>

UseSuiClientQueriesResults<Args>: {
    -readonly [K in keyof Args]: Args[K] extends {
            method: infer M extends keyof SuiRpcMethods;
            options?: {
                select?: ((...args: any[]) => infer R);
            } | object;
        }
        ? UseQueryResult<unknown extends R
            ? SuiRpcMethods[M]["result"]
            : R>
        : never
}

Type Parameters

  • Args extends readonly SuiClientQueryOptions[]