@bitgo-beta/sdk-coin-hbar 1.3.3-alpha.23 → 1.3.3-alpha.231

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 +523 -0
  2. package/dist/src/hbar.d.ts +60 -10
  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 +69 -8
  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,529 @@
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.46](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.45...@bitgo/sdk-coin-hbar@2.0.46) (2024-11-14)
7
+
8
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
9
+
10
+ ## [2.0.45](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.44...@bitgo/sdk-coin-hbar@2.0.45) (2024-11-08)
11
+
12
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
13
+
14
+ ## [2.0.44](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.43...@bitgo/sdk-coin-hbar@2.0.44) (2024-11-07)
15
+
16
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
17
+
18
+ ## [2.0.43](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.42...@bitgo/sdk-coin-hbar@2.0.43) (2024-11-01)
19
+
20
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
21
+
22
+ ## [2.0.42](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.41...@bitgo/sdk-coin-hbar@2.0.42) (2024-10-22)
23
+
24
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
25
+
26
+ ## [2.0.41](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.40...@bitgo/sdk-coin-hbar@2.0.41) (2024-10-15)
27
+
28
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
29
+
30
+ ## [2.0.40](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.39...@bitgo/sdk-coin-hbar@2.0.40) (2024-10-08)
31
+
32
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
33
+
34
+ ## [2.0.39](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.38...@bitgo/sdk-coin-hbar@2.0.39) (2024-10-04)
35
+
36
+ ### Bug Fixes
37
+
38
+ - **sdk-coin-hbar:** hbar address validation ([7015310](https://github.com/BitGo/BitGoJS/commit/70153106ed77c0de469d88880cd42631aa6e2e5d))
39
+
40
+ ## [2.0.38](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.37...@bitgo/sdk-coin-hbar@2.0.38) (2024-09-24)
41
+
42
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
43
+
44
+ ## [2.0.37](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.36...@bitgo/sdk-coin-hbar@2.0.37) (2024-09-19)
45
+
46
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
47
+
48
+ ## [2.0.36](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.35...@bitgo/sdk-coin-hbar@2.0.36) (2024-09-16)
49
+
50
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
51
+
52
+ ## [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)
53
+
54
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
55
+
56
+ ## [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)
57
+
58
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
59
+
60
+ ## [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)
61
+
62
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
63
+
64
+ ## [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)
65
+
66
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
67
+
68
+ ## [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)
69
+
70
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
71
+
72
+ ## [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)
73
+
74
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
75
+
76
+ ## [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)
77
+
78
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
79
+
80
+ ## [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)
81
+
82
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
83
+
84
+ ## [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)
85
+
86
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
87
+
88
+ ## [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)
89
+
90
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
91
+
92
+ ## [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)
93
+
94
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
95
+
96
+ ## [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)
97
+
98
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
99
+
100
+ ## [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)
101
+
102
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
103
+
104
+ ## [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)
105
+
106
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
107
+
108
+ ## [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)
109
+
110
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
111
+
112
+ ## [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)
113
+
114
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
115
+
116
+ ## [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)
117
+
118
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
119
+
120
+ ## [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)
121
+
122
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
123
+
124
+ ## [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)
125
+
126
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
127
+
128
+ ## [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)
129
+
130
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
131
+
132
+ ## [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)
133
+
134
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
135
+
136
+ ## [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)
137
+
138
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
139
+
140
+ ## [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)
141
+
142
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
143
+
144
+ ## [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)
145
+
146
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
147
+
148
+ ## [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)
149
+
150
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
151
+
152
+ ## [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)
153
+
154
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
155
+
156
+ ## [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)
157
+
158
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
159
+
160
+ ## [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)
161
+
162
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
163
+
164
+ ## [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)
165
+
166
+ ### Bug Fixes
167
+
168
+ - **sdk-core:** update protobufjs to fix critical vulnerability ([7066ada](https://github.com/BitGo/BitGoJS/commit/7066ada07272968a1325f84c36d5146b9e9d9abf))
169
+
170
+ ## [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)
171
+
172
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
173
+
174
+ ## [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)
175
+
176
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
177
+
178
+ ## [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)
179
+
180
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
181
+
182
+ ## [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)
183
+
184
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
185
+
186
+ ## [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)
187
+
188
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
189
+
190
+ ## [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)
191
+
192
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
193
+
194
+ # [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)
195
+
196
+ ### Features
197
+
198
+ - **root:** deprecate node 16 ([d3ec624](https://github.com/BitGo/BitGoJS/commit/d3ec6240bddae2a4ab7fa80c4a16efecc36210bd))
199
+
200
+ ### BREAKING CHANGES
201
+
202
+ - **root:** Node 16 is no longer supported in bitgojs.
203
+ TICKET: WP-1100
204
+
205
+ ## [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)
206
+
207
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
208
+
209
+ # [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)
210
+
211
+ ### Features
212
+
213
+ - **sdk-coin-hbar:** fix and test hbar recovery with root keys ([b9bdcb7](https://github.com/BitGo/BitGoJS/commit/b9bdcb73351a0a5131093748eeb9a768777a9e76))
214
+ - **sdk-core:** add new supportsDeriveKeyWithSeed flag ([c82bc46](https://github.com/BitGo/BitGoJS/commit/c82bc4686806d572be158b3862c232ab58547657))
215
+
216
+ ## [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)
217
+
218
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
219
+
220
+ # [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)
221
+
222
+ ### Bug Fixes
223
+
224
+ - **sdk-coin-hbar:** deprecate hbar deriveKeyWithSeed ([b7b3c83](https://github.com/BitGo/BitGoJS/commit/b7b3c8372fc52ffe3aa6027ab02219a66da574b5))
225
+
226
+ ### Features
227
+
228
+ - **sdk-coin-hbar:** implement hbar root keys ([1f85407](https://github.com/BitGo/BitGoJS/commit/1f85407b16f636cc0e9a01c5b1ab9a77337dd148))
229
+
230
+ # [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)
231
+
232
+ ### Bug Fixes
233
+
234
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
235
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
236
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
237
+
238
+ ### Features
239
+
240
+ - **sdk-coin-hbar:** implement recover method for native hbar ([45c4b7a](https://github.com/BitGo/BitGoJS/commit/45c4b7a7591176cb665efbdbb4279d40f3a869dd))
241
+ - **statics:** update thbar usdc token address ([f83d2aa](https://github.com/BitGo/BitGoJS/commit/f83d2aab9e3bc12cebe73b4bb11f284aab00b2ee))
242
+
243
+ # [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)
244
+
245
+ ### Bug Fixes
246
+
247
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
248
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
249
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
250
+
251
+ ### Features
252
+
253
+ - **sdk-coin-hbar:** implement recover method for native hbar ([45c4b7a](https://github.com/BitGo/BitGoJS/commit/45c4b7a7591176cb665efbdbb4279d40f3a869dd))
254
+ - **statics:** update thbar usdc token address ([f83d2aa](https://github.com/BitGo/BitGoJS/commit/f83d2aab9e3bc12cebe73b4bb11f284aab00b2ee))
255
+
256
+ # [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)
257
+
258
+ ### Bug Fixes
259
+
260
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
261
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
262
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
263
+
264
+ ### Features
265
+
266
+ - **sdk-coin-hbar:** implement recover method for native hbar ([45c4b7a](https://github.com/BitGo/BitGoJS/commit/45c4b7a7591176cb665efbdbb4279d40f3a869dd))
267
+ - **statics:** update thbar usdc token address ([f83d2aa](https://github.com/BitGo/BitGoJS/commit/f83d2aab9e3bc12cebe73b4bb11f284aab00b2ee))
268
+
269
+ # [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)
270
+
271
+ ### Bug Fixes
272
+
273
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
274
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
275
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
276
+
277
+ ### Features
278
+
279
+ - **sdk-coin-hbar:** implement recover method for native hbar ([45c4b7a](https://github.com/BitGo/BitGoJS/commit/45c4b7a7591176cb665efbdbb4279d40f3a869dd))
280
+ - **statics:** update thbar usdc token address ([f83d2aa](https://github.com/BitGo/BitGoJS/commit/f83d2aab9e3bc12cebe73b4bb11f284aab00b2ee))
281
+
282
+ # [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)
283
+
284
+ ### Bug Fixes
285
+
286
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
287
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
288
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
289
+
290
+ ### Features
291
+
292
+ - **statics:** update thbar usdc token address ([f83d2aa](https://github.com/BitGo/BitGoJS/commit/f83d2aab9e3bc12cebe73b4bb11f284aab00b2ee))
293
+
294
+ # [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)
295
+
296
+ ### Bug Fixes
297
+
298
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
299
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
300
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
301
+
302
+ ### Features
303
+
304
+ - **statics:** update thbar usdc token address ([f83d2aa](https://github.com/BitGo/BitGoJS/commit/f83d2aab9e3bc12cebe73b4bb11f284aab00b2ee))
305
+
306
+ ## [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)
307
+
308
+ ### Bug Fixes
309
+
310
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
311
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
312
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
313
+
314
+ ## [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)
315
+
316
+ ### Bug Fixes
317
+
318
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
319
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
320
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
321
+
322
+ ## [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)
323
+
324
+ ### Bug Fixes
325
+
326
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
327
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
328
+
329
+ ## [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)
330
+
331
+ ### Bug Fixes
332
+
333
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
334
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
335
+
336
+ ## [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)
337
+
338
+ ### Bug Fixes
339
+
340
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
341
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
342
+
343
+ ## [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)
344
+
345
+ ### Bug Fixes
346
+
347
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
348
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
349
+
350
+ ## [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)
351
+
352
+ ### Bug Fixes
353
+
354
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
355
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
356
+
357
+ ## [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)
358
+
359
+ ### Bug Fixes
360
+
361
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
362
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
363
+
364
+ ## [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)
365
+
366
+ ### Bug Fixes
367
+
368
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
369
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
370
+
371
+ ## [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)
372
+
373
+ ### Bug Fixes
374
+
375
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
376
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
377
+
378
+ ## [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)
379
+
380
+ ### Bug Fixes
381
+
382
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
383
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
384
+
385
+ ## [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)
386
+
387
+ ### Bug Fixes
388
+
389
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
390
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
391
+
392
+ ## [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)
393
+
394
+ ### Bug Fixes
395
+
396
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
397
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
398
+
399
+ ## [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)
400
+
401
+ ### Bug Fixes
402
+
403
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
404
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
405
+
406
+ ## [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)
407
+
408
+ ### Bug Fixes
409
+
410
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
411
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
412
+
413
+ ## [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)
414
+
415
+ ### Bug Fixes
416
+
417
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
418
+
419
+ ## [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)
420
+
421
+ ### Bug Fixes
422
+
423
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
424
+
425
+ ## [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)
426
+
427
+ ### Bug Fixes
428
+
429
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
430
+
431
+ ## [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)
432
+
433
+ ### Bug Fixes
434
+
435
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
436
+
437
+ ## [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)
438
+
439
+ ### Bug Fixes
440
+
441
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
442
+
443
+ ## [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)
444
+
445
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
446
+
447
+ ## [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)
448
+
449
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
450
+
451
+ ## [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)
452
+
453
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
454
+
455
+ ## [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)
456
+
457
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
458
+
459
+ ## [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)
460
+
461
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
462
+
463
+ # [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)
464
+
465
+ ### Features
466
+
467
+ - **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
468
+ - **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
469
+
470
+ # [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)
471
+
472
+ ### Features
473
+
474
+ - **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
475
+ - **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
476
+
477
+ ## [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)
478
+
479
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
480
+
481
+ ## [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)
482
+
483
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
484
+
485
+ ## [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)
486
+
487
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
488
+
489
+ ## [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)
490
+
491
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
492
+
493
+ ## [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)
494
+
495
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
496
+
497
+ ## [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)
498
+
499
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
500
+
501
+ ## [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)
502
+
503
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
504
+
505
+ ## [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)
506
+
507
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
508
+
509
+ ## [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)
510
+
511
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
512
+
513
+ ## [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)
514
+
515
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
516
+
517
+ ## [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)
518
+
519
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
520
+
521
+ ## [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)
522
+
523
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
524
+
525
+ ## [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)
526
+
527
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
528
+
6
529
  ## [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
530
 
8
531
  **Note:** Version bump only for package @bitgo/sdk-coin-hbar
@@ -1,9 +1,9 @@
1
- /// <reference types="node" />
2
1
  /**
3
2
  * @prettier
4
3
  */
5
4
  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';
5
+ 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';
6
+ import { Client, Transaction as HbarTransaction, AccountBalanceJson } from '@hashgraph/sdk';
7
7
  export interface HbarSignTransactionOptions extends SignTransactionOptions {
8
8
  txPrebuild: TransactionPrebuild;
9
9
  prv: string;
@@ -24,7 +24,7 @@ export interface ExplainTransactionOptions {
24
24
  halfSigned?: {
25
25
  txHex: string;
26
26
  };
27
- feeInfo: TransactionFee;
27
+ feeInfo?: TransactionFee;
28
28
  memo?: {
29
29
  type: string;
30
30
  value: string;
@@ -37,6 +37,46 @@ export interface HbarVerifyTransactionOptions extends VerifyTransactionOptions {
37
37
  interface VerifyAddressOptions extends BaseVerifyAddressOptions {
38
38
  baseAddress: string;
39
39
  }
40
+ export interface RecoveryOptions {
41
+ backupKey: string;
42
+ userKey: string;
43
+ rootAddress: string;
44
+ recoveryDestination: string;
45
+ bitgoKey?: string;
46
+ walletPassphrase?: string;
47
+ maxFee?: string;
48
+ nodeId?: string;
49
+ startTime?: string;
50
+ }
51
+ interface RecoveryInfo {
52
+ id: string;
53
+ tx: string;
54
+ coin: string;
55
+ startTime: string;
56
+ nodeId: string;
57
+ }
58
+ export interface OfflineVaultTxInfo {
59
+ txHex: string;
60
+ userKey: string;
61
+ backupKey: string;
62
+ bitgoKey?: string;
63
+ address: string;
64
+ coin: string;
65
+ maxFee: string;
66
+ recipients: Recipient[];
67
+ amount: string;
68
+ startTime: string;
69
+ validDuration: string;
70
+ nodeId: string;
71
+ memo: string;
72
+ json?: any;
73
+ }
74
+ export interface BroadcastTransactionOptions extends BaseBroadcastTransactionOptions {
75
+ startTime?: string;
76
+ }
77
+ export interface BroadcastTransactionResult extends BaseBroadcastTransactionResult {
78
+ status?: string;
79
+ }
40
80
  export declare class Hbar extends BaseCoin {
41
81
  protected readonly _staticsCoin: Readonly<StaticsBaseCoin>;
42
82
  constructor(bitgo: BitGoBase, staticsCoin?: Readonly<StaticsBaseCoin>);
@@ -55,13 +95,15 @@ export declare class Hbar extends BaseCoin {
55
95
  * @param address
56
96
  */
57
97
  isValidAddress(address: string): boolean;
58
- /**
59
- * Generate Hedera Hashgraph key pair
60
- *
61
- * @param seed
62
- * @returns {Object} object with generated pub, prv
63
- */
98
+ /** inheritdoc */
99
+ deriveKeyWithSeed(): {
100
+ derivationPath: string;
101
+ key: string;
102
+ };
103
+ /** inheritdoc */
64
104
  generateKeyPair(seed?: Buffer): KeyPair;
105
+ /** inheritdoc */
106
+ generateRootKeyPair(seed?: Buffer): KeyPair;
65
107
  parseTransaction(params: ParseTransactionOptions): Promise<ParsedTransaction>;
66
108
  /**
67
109
  * Check if address is valid, then make sure it matches the base address.
@@ -98,7 +140,7 @@ export declare class Hbar extends BaseCoin {
98
140
  * 3) Send signed build - send our signed build to a public node
99
141
  * @param params
100
142
  */
101
- recover(params: any): Promise<any>;
143
+ recover(params: RecoveryOptions): Promise<RecoveryInfo | OfflineVaultTxInfo>;
102
144
  /**
103
145
  * Explain a Hedera transaction from txHex
104
146
  * @param params
@@ -107,8 +149,16 @@ export declare class Hbar extends BaseCoin {
107
149
  isStellarSeed(seed: string): boolean;
108
150
  convertFromStellarSeed(seed: string): string | null;
109
151
  isValidPub(pub: string): boolean;
152
+ supportsDeriveKeyWithSeed(): boolean;
110
153
  getTokenEnablementConfig(): TokenEnablementConfig;
111
154
  private getBuilderFactory;
155
+ private getHbarClient;
156
+ getAccountBalance(accountId: string, client: Client): Promise<AccountBalanceJson>;
157
+ broadcastTransaction({ serializedSignedTransaction, startTime, }: BroadcastTransactionOptions): Promise<BroadcastTransactionResult>;
158
+ clientBroadcastTransaction(hbarTx: HbarTransaction): Promise<{
159
+ txId: string;
160
+ status: string;
161
+ }>;
112
162
  }
113
163
  export {};
114
164
  //# sourceMappingURL=hbar.d.ts.map