UNPKG

@funkit/connect

Version:

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

24 lines (23 loc) 644 B
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 interface FunkitUserIpInfo { alpha2: string; state: string; } export declare function useFunkitUserIp(): { isLoadingGeoCheck: boolean; isUserGeoblocked: boolean; userIpInfo: FunkitUserIpInfo | undefined; };