UNPKG

@kryptogo/kryptogokit-sdk-react

Version:

KryptogoKit offers a comprehensive web3 wallet solution with seamless KryptoGO Auth integration and multi-wallet connection support. Designed for users. Built for developers.

13 lines (12 loc) 467 B
import { type PaymentModalParams } from '../types/api'; export declare function usePayment(): { openPaymentModal: (data: PaymentModalParams) => Promise<void>; closePaymentModal: () => void; setPaymentIntent: (data: import("../types/api").PaymentIntentData) => void; data: import("../types/api").PaymentIntentData | null; error: Error | null; txHash: string | undefined; isLoading: boolean; isSuccess: boolean; isError: boolean; };