@funkit/connect
Version:
Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.
15 lines (14 loc) • 587 B
TypeScript
import type { KnownAssetBalanceInfo } from '../providers/GeneralWalletProvider';
export type WalletAssets = Record<string, KnownAssetBalanceInfo>;
/**
* Returns wallet assets that are above the {@link ASSETS_LOW_VALUE_THRESHOLD} threshold with their total USD value.
*/
export declare const useWalletAssets: ({ enableRefetchInterval, refetchOnMount, }?: {
enableRefetchInterval?: boolean | undefined;
refetchOnMount?: boolean | undefined;
}) => {
walletAssets: WalletAssets | undefined;
totalWalletAssetsUsd: number;
isLoading: boolean;
isFetching: boolean;
};