@funkit/connect
Version:
Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.
14 lines (13 loc) • 613 B
TypeScript
import { PaymentMethod } from '../../domains/paymentMethods';
interface RecentCheckoutsQuery {
isVisible: boolean;
paymentMethod?: PaymentMethod;
}
/**
* @returns recent checkouts tied to a recipient address used in the token transfer flow
*
* Thin web adapter over `@funkit/connect-core`'s params-shaped query: pulls
* identity + refresh interval from context and supplies the web logger.
*/
export declare const useRecentCheckouts: ({ paymentMethod, isVisible, }: RecentCheckoutsQuery) => import("@tanstack/react-query").UseQueryResult<import("@funkit/api-base").CheckoutHistoryItem[]>;
export {};