UNPKG

@funkit/connect

Version:

Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.

20 lines (19 loc) 610 B
import type { FunkitUserIpInfo } from '../providers/FunkitMoonpayProvider'; export interface UserIpInfoFromMoonpay { /** https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 */ alpha2: 'AU' | 'CA' | 'US' | string; state: string; alpha3: string; country: string; ipAddress: string; isAllowed: boolean; isBuyAllowed: boolean; isNftAllowed: boolean; isSellAllowed: boolean; isBalanceLedgerWithdrawAllowed: boolean; isLowLimitEnabled: boolean; } export declare function useUserIpInfo(): { userIpInfo: FunkitUserIpInfo | undefined; isLoadingGeoCheck: boolean; };