@ecency/wallets 1.3.17 → 1.3.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -8
- package/dist/ecency-sdk.es.js +2685 -2810
- package/dist/modules/wallets/queries/use-get-external-wallet-query.d.ts +13 -12
- package/package.json +1 -1
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { EcencyWalletCurrency } from '../enums';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
* @returns
|
|
8
|
-
*/
|
|
9
|
-
interface UseGetExternalWalletBalanceQueryOptions {
|
|
2
|
+
export interface ExternalWalletBalance {
|
|
3
|
+
chain: string;
|
|
4
|
+
unit: string;
|
|
5
|
+
raw?: unknown;
|
|
6
|
+
nodeId?: string;
|
|
10
7
|
/**
|
|
11
|
-
*
|
|
8
|
+
* Balance represented as a BigInt for convenience.
|
|
12
9
|
*/
|
|
13
|
-
|
|
10
|
+
balanceBigInt: bigint;
|
|
11
|
+
/**
|
|
12
|
+
* Balance returned as a string to preserve precision for UIs that cannot
|
|
13
|
+
* handle bigint values directly.
|
|
14
|
+
*/
|
|
15
|
+
balanceString: string;
|
|
14
16
|
}
|
|
15
|
-
export declare function useGetExternalWalletBalanceQuery(currency: EcencyWalletCurrency, address: string
|
|
16
|
-
export {};
|
|
17
|
+
export declare function useGetExternalWalletBalanceQuery(currency: EcencyWalletCurrency, address: string): import('@tanstack/react-query').UseQueryResult<ExternalWalletBalance, Error>;
|