@macalinao/grill
Version:
Modern Solana development kit for React applications with automatic account batching, caching, and transaction notifications
7 lines • 395 B
TypeScript
import type { PdaFn } from "@macalinao/gill-extra";
import type { UseQueryOptions } from "@tanstack/react-query";
/**
* Creates a query configuration for computing a PDA
*/
export declare function createPdaQuery<TArgs, TResult>(pdaFn: PdaFn<TArgs, TResult>, queryKeyPrefix: string, args: TArgs | null | undefined): UseQueryOptions<TResult | null>;
//# sourceMappingURL=pda-query-utils.d.ts.map