UNPKG

@macalinao/grill

Version:

Modern Solana development kit for React applications with automatic account batching, caching, and transaction notifications

14 lines 624 B
import type { BatchAccountsLoader } from "@macalinao/solana-batch-accounts-loader"; import type { QueryClient } from "@tanstack/react-query"; import type { Address } from "gill"; /** * Refetches the accounts for the given addresses * @param queryClient - The query client to invalidate the accounts for * @param addresses - The addresses to invalidate the accounts for */ export declare const refetchAccounts: ({ queryClient, accountLoader, addresses, }: { queryClient: QueryClient; accountLoader: BatchAccountsLoader; addresses: Address[]; }) => Promise<void>; //# sourceMappingURL=refetch-accounts.d.ts.map