@bitgo-beta/sdk-coin-hbar 1.3.3-alpha.20 → 1.3.3-alpha.200

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.
Files changed (34) hide show
  1. package/CHANGELOG.md +477 -0
  2. package/dist/src/hbar.d.ts +60 -9
  3. package/dist/src/hbar.d.ts.map +1 -1
  4. package/dist/src/hbar.js +161 -13
  5. package/dist/src/index.js +6 -2
  6. package/dist/src/lib/coinTransferBuilder.d.ts +1 -1
  7. package/dist/src/lib/coinTransferBuilder.d.ts.map +1 -1
  8. package/dist/src/lib/coinTransferBuilder.js +11 -7
  9. package/dist/src/lib/iface.d.ts +1 -1
  10. package/dist/src/lib/iface.d.ts.map +1 -1
  11. package/dist/src/lib/index.js +6 -2
  12. package/dist/src/lib/keyPair.d.ts +1 -0
  13. package/dist/src/lib/keyPair.d.ts.map +1 -1
  14. package/dist/src/lib/keyPair.js +7 -7
  15. package/dist/src/lib/tokenAssociateBuilder.js +9 -28
  16. package/dist/src/lib/tokenTransferBuilder.d.ts +1 -1
  17. package/dist/src/lib/tokenTransferBuilder.d.ts.map +1 -1
  18. package/dist/src/lib/tokenTransferBuilder.js +14 -10
  19. package/dist/src/lib/transaction.d.ts +1 -1
  20. package/dist/src/lib/transaction.d.ts.map +1 -1
  21. package/dist/src/lib/transaction.js +31 -27
  22. package/dist/src/lib/transactionBuilder.d.ts +1 -1
  23. package/dist/src/lib/transactionBuilder.d.ts.map +1 -1
  24. package/dist/src/lib/transactionBuilder.js +20 -16
  25. package/dist/src/lib/transactionBuilderFactory.js +3 -3
  26. package/dist/src/lib/transferBuilder.d.ts +1 -1
  27. package/dist/src/lib/transferBuilder.d.ts.map +1 -1
  28. package/dist/src/lib/transferBuilder.js +5 -24
  29. package/dist/src/lib/utils.d.ts +18 -1
  30. package/dist/src/lib/utils.d.ts.map +1 -1
  31. package/dist/src/lib/utils.js +63 -6
  32. package/dist/src/lib/walletInitializationBuilder.js +13 -9
  33. package/dist/src/seedValidator.js +7 -3
  34. package/package.json +11 -11
package/CHANGELOG.md CHANGED
@@ -3,6 +3,483 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.0.35](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.34...@bitgo/sdk-coin-hbar@2.0.35) (2024-09-10)
7
+
8
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
9
+
10
+ ## [2.0.34](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.33...@bitgo/sdk-coin-hbar@2.0.34) (2024-09-03)
11
+
12
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
13
+
14
+ ## [2.0.33](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.32...@bitgo/sdk-coin-hbar@2.0.33) (2024-08-29)
15
+
16
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
17
+
18
+ ## [2.0.32](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.31...@bitgo/sdk-coin-hbar@2.0.32) (2024-08-27)
19
+
20
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
21
+
22
+ ## [2.0.31](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.29...@bitgo/sdk-coin-hbar@2.0.31) (2024-08-20)
23
+
24
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
25
+
26
+ ## [2.0.30](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.29...@bitgo/sdk-coin-hbar@2.0.30) (2024-08-13)
27
+
28
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
29
+
30
+ ## [2.0.29](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.28...@bitgo/sdk-coin-hbar@2.0.29) (2024-08-07)
31
+
32
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
33
+
34
+ ## [2.0.28](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.27...@bitgo/sdk-coin-hbar@2.0.28) (2024-07-30)
35
+
36
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
37
+
38
+ ## [2.0.27](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.26...@bitgo/sdk-coin-hbar@2.0.27) (2024-07-24)
39
+
40
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
41
+
42
+ ## [2.0.26](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.25...@bitgo/sdk-coin-hbar@2.0.26) (2024-07-16)
43
+
44
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
45
+
46
+ ## [2.0.25](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.24...@bitgo/sdk-coin-hbar@2.0.25) (2024-07-04)
47
+
48
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
49
+
50
+ ## [2.0.24](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.23...@bitgo/sdk-coin-hbar@2.0.24) (2024-07-02)
51
+
52
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
53
+
54
+ ## [2.0.23](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.22...@bitgo/sdk-coin-hbar@2.0.23) (2024-06-27)
55
+
56
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
57
+
58
+ ## [2.0.22](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.21...@bitgo/sdk-coin-hbar@2.0.22) (2024-06-26)
59
+
60
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
61
+
62
+ ## [2.0.21](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.19...@bitgo/sdk-coin-hbar@2.0.21) (2024-06-21)
63
+
64
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
65
+
66
+ ## [2.0.20](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.19...@bitgo/sdk-coin-hbar@2.0.20) (2024-06-20)
67
+
68
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
69
+
70
+ ## [2.0.19](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.18...@bitgo/sdk-coin-hbar@2.0.19) (2024-06-14)
71
+
72
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
73
+
74
+ ## [2.0.18](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.17...@bitgo/sdk-coin-hbar@2.0.18) (2024-06-11)
75
+
76
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
77
+
78
+ ## [2.0.17](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.16...@bitgo/sdk-coin-hbar@2.0.17) (2024-06-05)
79
+
80
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
81
+
82
+ ## [2.0.16](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.15...@bitgo/sdk-coin-hbar@2.0.16) (2024-05-31)
83
+
84
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
85
+
86
+ ## [2.0.15](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.14...@bitgo/sdk-coin-hbar@2.0.15) (2024-05-28)
87
+
88
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
89
+
90
+ ## [2.0.14](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.13...@bitgo/sdk-coin-hbar@2.0.14) (2024-05-22)
91
+
92
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
93
+
94
+ ## [2.0.13](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.12...@bitgo/sdk-coin-hbar@2.0.13) (2024-05-17)
95
+
96
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
97
+
98
+ ## [2.0.12](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.11...@bitgo/sdk-coin-hbar@2.0.12) (2024-05-13)
99
+
100
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
101
+
102
+ ## [2.0.11](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.10...@bitgo/sdk-coin-hbar@2.0.11) (2024-05-08)
103
+
104
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
105
+
106
+ ## [2.0.10](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.9...@bitgo/sdk-coin-hbar@2.0.10) (2024-05-01)
107
+
108
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
109
+
110
+ ## [2.0.9](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.8...@bitgo/sdk-coin-hbar@2.0.9) (2024-04-25)
111
+
112
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
113
+
114
+ ## [2.0.8](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.7...@bitgo/sdk-coin-hbar@2.0.8) (2024-04-24)
115
+
116
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
117
+
118
+ ## [2.0.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.6...@bitgo/sdk-coin-hbar@2.0.7) (2024-04-22)
119
+
120
+ ### Bug Fixes
121
+
122
+ - **sdk-core:** update protobufjs to fix critical vulnerability ([7066ada](https://github.com/BitGo/BitGoJS/commit/7066ada07272968a1325f84c36d5146b9e9d9abf))
123
+
124
+ ## [2.0.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.5...@bitgo/sdk-coin-hbar@2.0.6) (2024-04-17)
125
+
126
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
127
+
128
+ ## [2.0.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.4...@bitgo/sdk-coin-hbar@2.0.5) (2024-04-12)
129
+
130
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
131
+
132
+ ## [2.0.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.3...@bitgo/sdk-coin-hbar@2.0.4) (2024-04-10)
133
+
134
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
135
+
136
+ ## [2.0.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.2...@bitgo/sdk-coin-hbar@2.0.3) (2024-04-09)
137
+
138
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
139
+
140
+ ## [2.0.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.1...@bitgo/sdk-coin-hbar@2.0.2) (2024-04-08)
141
+
142
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
143
+
144
+ ## [2.0.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.0...@bitgo/sdk-coin-hbar@2.0.1) (2024-04-05)
145
+
146
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
147
+
148
+ # [2.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.14.1...@bitgo/sdk-coin-hbar@2.0.0) (2024-03-28)
149
+
150
+ ### Features
151
+
152
+ - **root:** deprecate node 16 ([d3ec624](https://github.com/BitGo/BitGoJS/commit/d3ec6240bddae2a4ab7fa80c4a16efecc36210bd))
153
+
154
+ ### BREAKING CHANGES
155
+
156
+ - **root:** Node 16 is no longer supported in bitgojs.
157
+ TICKET: WP-1100
158
+
159
+ ## [1.14.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.14.0...@bitgo/sdk-coin-hbar@1.14.1) (2024-03-19)
160
+
161
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
162
+
163
+ # [1.14.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.13.1...@bitgo/sdk-coin-hbar@1.14.0) (2024-03-11)
164
+
165
+ ### Features
166
+
167
+ - **sdk-coin-hbar:** fix and test hbar recovery with root keys ([b9bdcb7](https://github.com/BitGo/BitGoJS/commit/b9bdcb73351a0a5131093748eeb9a768777a9e76))
168
+ - **sdk-core:** add new supportsDeriveKeyWithSeed flag ([c82bc46](https://github.com/BitGo/BitGoJS/commit/c82bc4686806d572be158b3862c232ab58547657))
169
+
170
+ ## [1.13.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.13.0...@bitgo/sdk-coin-hbar@1.13.1) (2024-02-28)
171
+
172
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
173
+
174
+ # [1.13.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.12.0...@bitgo/sdk-coin-hbar@1.13.0) (2024-02-22)
175
+
176
+ ### Bug Fixes
177
+
178
+ - **sdk-coin-hbar:** deprecate hbar deriveKeyWithSeed ([b7b3c83](https://github.com/BitGo/BitGoJS/commit/b7b3c8372fc52ffe3aa6027ab02219a66da574b5))
179
+
180
+ ### Features
181
+
182
+ - **sdk-coin-hbar:** implement hbar root keys ([1f85407](https://github.com/BitGo/BitGoJS/commit/1f85407b16f636cc0e9a01c5b1ab9a77337dd148))
183
+
184
+ # [1.12.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.12.0) (2024-02-19)
185
+
186
+ ### Bug Fixes
187
+
188
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
189
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
190
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
191
+
192
+ ### Features
193
+
194
+ - **sdk-coin-hbar:** implement recover method for native hbar ([45c4b7a](https://github.com/BitGo/BitGoJS/commit/45c4b7a7591176cb665efbdbb4279d40f3a869dd))
195
+ - **statics:** update thbar usdc token address ([f83d2aa](https://github.com/BitGo/BitGoJS/commit/f83d2aab9e3bc12cebe73b4bb11f284aab00b2ee))
196
+
197
+ # [1.10.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.10.0) (2024-01-30)
198
+
199
+ ### Bug Fixes
200
+
201
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
202
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
203
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
204
+
205
+ ### Features
206
+
207
+ - **sdk-coin-hbar:** implement recover method for native hbar ([45c4b7a](https://github.com/BitGo/BitGoJS/commit/45c4b7a7591176cb665efbdbb4279d40f3a869dd))
208
+ - **statics:** update thbar usdc token address ([f83d2aa](https://github.com/BitGo/BitGoJS/commit/f83d2aab9e3bc12cebe73b4bb11f284aab00b2ee))
209
+
210
+ # [1.9.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.9.0) (2024-01-26)
211
+
212
+ ### Bug Fixes
213
+
214
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
215
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
216
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
217
+
218
+ ### Features
219
+
220
+ - **sdk-coin-hbar:** implement recover method for native hbar ([45c4b7a](https://github.com/BitGo/BitGoJS/commit/45c4b7a7591176cb665efbdbb4279d40f3a869dd))
221
+ - **statics:** update thbar usdc token address ([f83d2aa](https://github.com/BitGo/BitGoJS/commit/f83d2aab9e3bc12cebe73b4bb11f284aab00b2ee))
222
+
223
+ # [1.8.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.8.0) (2024-01-26)
224
+
225
+ ### Bug Fixes
226
+
227
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
228
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
229
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
230
+
231
+ ### Features
232
+
233
+ - **sdk-coin-hbar:** implement recover method for native hbar ([45c4b7a](https://github.com/BitGo/BitGoJS/commit/45c4b7a7591176cb665efbdbb4279d40f3a869dd))
234
+ - **statics:** update thbar usdc token address ([f83d2aa](https://github.com/BitGo/BitGoJS/commit/f83d2aab9e3bc12cebe73b4bb11f284aab00b2ee))
235
+
236
+ # [1.7.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.7.0) (2024-01-25)
237
+
238
+ ### Bug Fixes
239
+
240
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
241
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
242
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
243
+
244
+ ### Features
245
+
246
+ - **statics:** update thbar usdc token address ([f83d2aa](https://github.com/BitGo/BitGoJS/commit/f83d2aab9e3bc12cebe73b4bb11f284aab00b2ee))
247
+
248
+ # [1.6.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.6.0) (2024-01-22)
249
+
250
+ ### Bug Fixes
251
+
252
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
253
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
254
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
255
+
256
+ ### Features
257
+
258
+ - **statics:** update thbar usdc token address ([f83d2aa](https://github.com/BitGo/BitGoJS/commit/f83d2aab9e3bc12cebe73b4bb11f284aab00b2ee))
259
+
260
+ ## [1.5.25](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.25) (2024-01-09)
261
+
262
+ ### Bug Fixes
263
+
264
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
265
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
266
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
267
+
268
+ ## [1.5.24](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.24) (2024-01-03)
269
+
270
+ ### Bug Fixes
271
+
272
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
273
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
274
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
275
+
276
+ ## [1.5.23](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.23) (2023-12-18)
277
+
278
+ ### Bug Fixes
279
+
280
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
281
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
282
+
283
+ ## [1.5.22](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.22) (2023-12-12)
284
+
285
+ ### Bug Fixes
286
+
287
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
288
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
289
+
290
+ ## [1.5.21](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.21) (2023-12-09)
291
+
292
+ ### Bug Fixes
293
+
294
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
295
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
296
+
297
+ ## [1.5.20](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.20) (2023-12-05)
298
+
299
+ ### Bug Fixes
300
+
301
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
302
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
303
+
304
+ ## [1.5.19](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.19) (2023-11-28)
305
+
306
+ ### Bug Fixes
307
+
308
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
309
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
310
+
311
+ ## [1.5.18](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.18) (2023-11-24)
312
+
313
+ ### Bug Fixes
314
+
315
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
316
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
317
+
318
+ ## [1.5.17](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.17) (2023-11-17)
319
+
320
+ ### Bug Fixes
321
+
322
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
323
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
324
+
325
+ ## [1.5.16](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.16) (2023-11-13)
326
+
327
+ ### Bug Fixes
328
+
329
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
330
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
331
+
332
+ ## [1.5.15](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.15) (2023-11-13)
333
+
334
+ ### Bug Fixes
335
+
336
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
337
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
338
+
339
+ ## [1.5.14](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.14) (2023-11-13)
340
+
341
+ ### Bug Fixes
342
+
343
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
344
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
345
+
346
+ ## [1.5.13](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.13) (2023-10-20)
347
+
348
+ ### Bug Fixes
349
+
350
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
351
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
352
+
353
+ ## [1.5.12](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.12) (2023-10-18)
354
+
355
+ ### Bug Fixes
356
+
357
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
358
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
359
+
360
+ ## [1.5.11](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.11) (2023-09-25)
361
+
362
+ ### Bug Fixes
363
+
364
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
365
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
366
+
367
+ ## [1.5.10](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.10) (2023-09-09)
368
+
369
+ ### Bug Fixes
370
+
371
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
372
+
373
+ ## [1.5.9](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.9) (2023-09-09)
374
+
375
+ ### Bug Fixes
376
+
377
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
378
+
379
+ ## [1.5.8](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.8) (2023-09-07)
380
+
381
+ ### Bug Fixes
382
+
383
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
384
+
385
+ ## [1.5.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.7) (2023-09-05)
386
+
387
+ ### Bug Fixes
388
+
389
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
390
+
391
+ ## [1.5.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.6) (2023-09-01)
392
+
393
+ ### Bug Fixes
394
+
395
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
396
+
397
+ ## [1.5.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.5) (2023-08-29)
398
+
399
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
400
+
401
+ ## [1.5.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.4) (2023-08-25)
402
+
403
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
404
+
405
+ ## [1.5.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.3) (2023-08-24)
406
+
407
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
408
+
409
+ ## [1.5.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.2) (2023-08-16)
410
+
411
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
412
+
413
+ ## [1.5.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.1) (2023-08-16)
414
+
415
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
416
+
417
+ # [1.5.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.28...@bitgo/sdk-coin-hbar@1.5.0) (2023-08-04)
418
+
419
+ ### Features
420
+
421
+ - **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
422
+ - **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
423
+
424
+ # [1.4.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.28...@bitgo/sdk-coin-hbar@1.4.0) (2023-07-28)
425
+
426
+ ### Features
427
+
428
+ - **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
429
+ - **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
430
+
431
+ ## [1.3.28](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.27...@bitgo/sdk-coin-hbar@1.3.28) (2023-07-18)
432
+
433
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
434
+
435
+ ## [1.3.27](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.26...@bitgo/sdk-coin-hbar@1.3.27) (2023-06-21)
436
+
437
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
438
+
439
+ ## [1.3.26](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.25...@bitgo/sdk-coin-hbar@1.3.26) (2023-06-14)
440
+
441
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
442
+
443
+ ## [1.3.25](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.24...@bitgo/sdk-coin-hbar@1.3.25) (2023-06-13)
444
+
445
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
446
+
447
+ ## [1.3.24](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.23...@bitgo/sdk-coin-hbar@1.3.24) (2023-06-07)
448
+
449
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
450
+
451
+ ## [1.3.23](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.22...@bitgo/sdk-coin-hbar@1.3.23) (2023-06-05)
452
+
453
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
454
+
455
+ ## [1.3.22](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.21...@bitgo/sdk-coin-hbar@1.3.22) (2023-05-25)
456
+
457
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
458
+
459
+ ## [1.3.21](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.20...@bitgo/sdk-coin-hbar@1.3.21) (2023-05-17)
460
+
461
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
462
+
463
+ ## [1.3.20](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.19...@bitgo/sdk-coin-hbar@1.3.20) (2023-05-10)
464
+
465
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
466
+
467
+ ## [1.3.19](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.18...@bitgo/sdk-coin-hbar@1.3.19) (2023-05-03)
468
+
469
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
470
+
471
+ ## [1.3.18](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.17...@bitgo/sdk-coin-hbar@1.3.18) (2023-04-25)
472
+
473
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
474
+
475
+ ## [1.3.17](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.16...@bitgo/sdk-coin-hbar@1.3.17) (2023-04-20)
476
+
477
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
478
+
479
+ ## [1.3.16](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.15...@bitgo/sdk-coin-hbar@1.3.16) (2023-04-13)
480
+
481
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
482
+
6
483
  ## [1.3.15](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.14...@bitgo/sdk-coin-hbar@1.3.15) (2023-02-17)
7
484
 
8
485
  **Note:** Version bump only for package @bitgo/sdk-coin-hbar
@@ -3,7 +3,8 @@
3
3
  * @prettier
4
4
  */
5
5
  import { CoinFamily, BaseCoin as StaticsBaseCoin } from '@bitgo-beta/statics';
6
- import { BaseCoin, BitGoBase, KeyPair, ParsedTransaction, ParseTransactionOptions, SignedTransaction, SignTransactionOptions, VerifyAddressOptions as BaseVerifyAddressOptions, VerifyTransactionOptions, TransactionFee, TransactionRecipient as Recipient, TransactionPrebuild as BaseTransactionPrebuild, TransactionExplanation, Memo, TokenEnablementConfig } from '@bitgo-beta/sdk-core';
6
+ import { BaseCoin, BitGoBase, KeyPair, ParsedTransaction, ParseTransactionOptions, SignedTransaction, SignTransactionOptions, VerifyAddressOptions as BaseVerifyAddressOptions, VerifyTransactionOptions, TransactionFee, TransactionRecipient as Recipient, TransactionPrebuild as BaseTransactionPrebuild, TransactionExplanation, Memo, TokenEnablementConfig, BaseBroadcastTransactionOptions, BaseBroadcastTransactionResult } from '@bitgo-beta/sdk-core';
7
+ import { Client, Transaction as HbarTransaction, AccountBalanceJson } from '@hashgraph/sdk';
7
8
  export interface HbarSignTransactionOptions extends SignTransactionOptions {
8
9
  txPrebuild: TransactionPrebuild;
9
10
  prv: string;
@@ -24,7 +25,7 @@ export interface ExplainTransactionOptions {
24
25
  halfSigned?: {
25
26
  txHex: string;
26
27
  };
27
- feeInfo: TransactionFee;
28
+ feeInfo?: TransactionFee;
28
29
  memo?: {
29
30
  type: string;
30
31
  value: string;
@@ -37,6 +38,46 @@ export interface HbarVerifyTransactionOptions extends VerifyTransactionOptions {
37
38
  interface VerifyAddressOptions extends BaseVerifyAddressOptions {
38
39
  baseAddress: string;
39
40
  }
41
+ export interface RecoveryOptions {
42
+ backupKey: string;
43
+ userKey: string;
44
+ rootAddress: string;
45
+ recoveryDestination: string;
46
+ bitgoKey?: string;
47
+ walletPassphrase?: string;
48
+ maxFee?: string;
49
+ nodeId?: string;
50
+ startTime?: string;
51
+ }
52
+ interface RecoveryInfo {
53
+ id: string;
54
+ tx: string;
55
+ coin: string;
56
+ startTime: string;
57
+ nodeId: string;
58
+ }
59
+ export interface OfflineVaultTxInfo {
60
+ txHex: string;
61
+ userKey: string;
62
+ backupKey: string;
63
+ bitgoKey?: string;
64
+ address: string;
65
+ coin: string;
66
+ maxFee: string;
67
+ recipients: Recipient[];
68
+ amount: string;
69
+ startTime: string;
70
+ validDuration: string;
71
+ nodeId: string;
72
+ memo: string;
73
+ json?: any;
74
+ }
75
+ export interface BroadcastTransactionOptions extends BaseBroadcastTransactionOptions {
76
+ startTime?: string;
77
+ }
78
+ export interface BroadcastTransactionResult extends BaseBroadcastTransactionResult {
79
+ status?: string;
80
+ }
40
81
  export declare class Hbar extends BaseCoin {
41
82
  protected readonly _staticsCoin: Readonly<StaticsBaseCoin>;
42
83
  constructor(bitgo: BitGoBase, staticsCoin?: Readonly<StaticsBaseCoin>);
@@ -55,13 +96,15 @@ export declare class Hbar extends BaseCoin {
55
96
  * @param address
56
97
  */
57
98
  isValidAddress(address: string): boolean;
58
- /**
59
- * Generate Hedera Hashgraph key pair
60
- *
61
- * @param seed
62
- * @returns {Object} object with generated pub, prv
63
- */
99
+ /** inheritdoc */
100
+ deriveKeyWithSeed(): {
101
+ derivationPath: string;
102
+ key: string;
103
+ };
104
+ /** inheritdoc */
64
105
  generateKeyPair(seed?: Buffer): KeyPair;
106
+ /** inheritdoc */
107
+ generateRootKeyPair(seed?: Buffer): KeyPair;
65
108
  parseTransaction(params: ParseTransactionOptions): Promise<ParsedTransaction>;
66
109
  /**
67
110
  * Check if address is valid, then make sure it matches the base address.
@@ -98,7 +141,7 @@ export declare class Hbar extends BaseCoin {
98
141
  * 3) Send signed build - send our signed build to a public node
99
142
  * @param params
100
143
  */
101
- recover(params: any): Promise<any>;
144
+ recover(params: RecoveryOptions): Promise<RecoveryInfo | OfflineVaultTxInfo>;
102
145
  /**
103
146
  * Explain a Hedera transaction from txHex
104
147
  * @param params
@@ -107,8 +150,16 @@ export declare class Hbar extends BaseCoin {
107
150
  isStellarSeed(seed: string): boolean;
108
151
  convertFromStellarSeed(seed: string): string | null;
109
152
  isValidPub(pub: string): boolean;
153
+ supportsDeriveKeyWithSeed(): boolean;
110
154
  getTokenEnablementConfig(): TokenEnablementConfig;
111
155
  private getBuilderFactory;
156
+ private getHbarClient;
157
+ getAccountBalance(accountId: string, client: Client): Promise<AccountBalanceJson>;
158
+ broadcastTransaction({ serializedSignedTransaction, startTime, }: BroadcastTransactionOptions): Promise<BroadcastTransactionResult>;
159
+ clientBroadcastTransaction(hbarTx: HbarTransaction): Promise<{
160
+ txId: string;
161
+ status: string;
162
+ }>;
112
163
  }
113
164
  export {};
114
165
  //# sourceMappingURL=hbar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hbar.d.ts","sourceRoot":"","sources":["../../src/hbar.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,QAAQ,IAAI,eAAe,EAAS,MAAM,qBAAqB,CAAC;AACrF,OAAO,EACL,QAAQ,EACR,SAAS,EACT,OAAO,EAEP,iBAAiB,EACjB,uBAAuB,EACvB,iBAAiB,EACjB,sBAAsB,EACtB,oBAAoB,IAAI,wBAAwB,EAChD,wBAAwB,EACxB,cAAc,EACd,oBAAoB,IAAI,SAAS,EACjC,mBAAmB,IAAI,uBAAuB,EAC9C,sBAAsB,EACtB,IAAI,EACJ,qBAAqB,EACtB,MAAM,sBAAsB,CAAC;AAQ9B,MAAM,WAAW,0BAA2B,SAAQ,sBAAsB;IACxE,UAAU,EAAE,mBAAmB,CAAC;IAChC,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,MAAM;IACrB,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;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