@pioneer-platform/cosmos-network 8.1.18 → 8.1.24

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 CHANGED
@@ -5,6 +5,7 @@ declare const axios: any;
5
5
  declare const log: any;
6
6
  declare let wait: any;
7
7
  declare let sleep: any;
8
+ declare const txEncoder: any;
8
9
  declare const ASSET = "ATOM";
9
10
  declare let nodes: any;
10
11
  declare let publicNode: any;
@@ -14,7 +15,21 @@ declare let RUNTIME: any;
14
15
  declare let get_mempool: () => Promise<any>;
15
16
  declare let check_online_status: () => Promise<any>;
16
17
  declare let get_balance: (address: string) => Promise<number>;
17
- declare let get_balances: (address: string) => Promise<any>;
18
+ declare let get_voucher_info: (voucher: string) => Promise<any>;
19
+ declare let get_balances: (address: string) => Promise<({
20
+ type: string;
21
+ asset: string;
22
+ denom: string;
23
+ balance: any;
24
+ } | {
25
+ type: string;
26
+ ibc: boolean;
27
+ voucherId: any;
28
+ asset: string;
29
+ denom: any;
30
+ channel: any;
31
+ balance: number;
32
+ })[]>;
18
33
  declare let get_delegations_txs_address: (address: string) => Promise<any>;
19
34
  declare let get_rewards: (address: string) => Promise<any>;
20
35
  declare let get_delegations_by_address: (address: string) => Promise<any>;
@@ -29,12 +44,14 @@ declare let get_txs_by_height: (height: string) => Promise<any>;
29
44
  declare let get_block: (height: string) => Promise<any>;
30
45
  declare let get_account: (address: string) => Promise<any>;
31
46
  declare let get_account_remote: (address: string) => Promise<any>;
47
+ declare let encode_transaction: (tx: string) => Promise<any>;
32
48
  declare let broadcast_transaction: (tx: string) => Promise<any>;
49
+ declare let broadcast_transaction_legacy: (tx: string) => Promise<any>;
33
50
  declare let get_node_info: () => Promise<any>;
34
51
  declare let get_node_info_verbose: () => Promise<any>;
35
52
  declare let get_node_syncing: () => Promise<any>;
36
53
  declare let get_node_version: () => Promise<any>;
37
54
  declare let normalize_tx: (tx: any, type: any) => any;
38
- declare let get_txs_by_address: (address: string) => Promise<any[]>;
55
+ declare let get_txs_by_address: (address: string) => Promise<any>;
39
56
  declare let getTransaction: (txid: string) => Promise<any>;
40
57
  declare let getStakingInfo: (address: string, valAddress: string) => Promise<any>;