@pioneer-platform/thor-network 8.3.3 → 8.3.5
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/lib/index.d.ts +6 -1
- package/lib/index.js +292 -365
- package/lib/types.d.ts +21 -0
- package/lib/types.js +18 -0
- package/package.json +8 -7
- package/tsconfig.json +19 -8
- package/LICENSE +0 -674
package/lib/index.d.ts
CHANGED
|
@@ -14,7 +14,12 @@ declare let get_last_block: () => Promise<any>;
|
|
|
14
14
|
declare let get_block_height: () => Promise<any>;
|
|
15
15
|
declare let get_transaction: (txid: string) => Promise<any>;
|
|
16
16
|
declare let broadcast_transaction: (tx: string) => Promise<any>;
|
|
17
|
-
declare let get_account_info: (address: string) => Promise<
|
|
17
|
+
declare let get_account_info: (address: string) => Promise<{
|
|
18
|
+
account: {
|
|
19
|
+
address: string;
|
|
20
|
+
balances: any;
|
|
21
|
+
};
|
|
22
|
+
}>;
|
|
18
23
|
declare let normalize_tx: (tx: any, address?: string) => any;
|
|
19
24
|
declare let get_txs_by_address: (address: string) => Promise<any>;
|
|
20
25
|
declare let get_balance: (address: string) => Promise<number>;
|