UNPKG

@hashport/react-client

Version:
16 lines (15 loc) 445 B
import { useTokenList } from './useTokenList'; import { AssetInfoWithBalance } from '../types/tokenList'; export declare const useTokensWithBalances: (props: Parameters<typeof useTokenList>[0]) => { isLoading: true; isError: false; tokens: undefined; } | { isLoading: false; isError: true; tokens: undefined | AssetInfoWithBalance[]; } | { isLoading: false; isError: false; tokens: AssetInfoWithBalance[]; };