@bitgo-beta/sdk-coin-hbar 1.3.3-alpha.21 → 1.3.3-alpha.210

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 +511 -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 +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,517 @@
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.40](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.39...@bitgo/sdk-coin-hbar@2.0.40) (2024-10-08)
7
+
8
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
9
+
10
+ ## [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)
11
+
12
+ ### Bug Fixes
13
+
14
+ - **sdk-coin-hbar:** hbar address validation ([7015310](https://github.com/BitGo/BitGoJS/commit/70153106ed77c0de469d88880cd42631aa6e2e5d))
15
+
16
+ ## [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)
17
+
18
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
19
+
20
+ ## [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)
21
+
22
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
23
+
24
+ ## [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)
25
+
26
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
27
+
28
+ ## [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)
29
+
30
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
31
+
32
+ ## [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)
33
+
34
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
35
+
36
+ ## [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)
37
+
38
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
39
+
40
+ ## [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)
41
+
42
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
43
+
44
+ ## [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)
45
+
46
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
47
+
48
+ ## [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)
49
+
50
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
51
+
52
+ ## [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)
53
+
54
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
55
+
56
+ ## [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)
57
+
58
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
59
+
60
+ ## [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)
61
+
62
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
63
+
64
+ ## [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)
65
+
66
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
67
+
68
+ ## [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)
69
+
70
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
71
+
72
+ ## [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)
73
+
74
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
75
+
76
+ ## [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)
77
+
78
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
79
+
80
+ ## [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)
81
+
82
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
83
+
84
+ ## [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)
85
+
86
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
87
+
88
+ ## [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)
89
+
90
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
91
+
92
+ ## [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)
93
+
94
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
95
+
96
+ ## [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)
97
+
98
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
99
+
100
+ ## [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)
101
+
102
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
103
+
104
+ ## [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)
105
+
106
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
107
+
108
+ ## [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)
109
+
110
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
111
+
112
+ ## [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)
113
+
114
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
115
+
116
+ ## [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)
117
+
118
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
119
+
120
+ ## [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)
121
+
122
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
123
+
124
+ ## [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)
125
+
126
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
127
+
128
+ ## [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)
129
+
130
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
131
+
132
+ ## [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)
133
+
134
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
135
+
136
+ ## [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)
137
+
138
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
139
+
140
+ ## [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)
141
+
142
+ ### Bug Fixes
143
+
144
+ - **sdk-core:** update protobufjs to fix critical vulnerability ([7066ada](https://github.com/BitGo/BitGoJS/commit/7066ada07272968a1325f84c36d5146b9e9d9abf))
145
+
146
+ ## [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)
147
+
148
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
149
+
150
+ ## [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)
151
+
152
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
153
+
154
+ ## [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)
155
+
156
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
157
+
158
+ ## [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)
159
+
160
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
161
+
162
+ ## [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)
163
+
164
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
165
+
166
+ ## [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)
167
+
168
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
169
+
170
+ # [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)
171
+
172
+ ### Features
173
+
174
+ - **root:** deprecate node 16 ([d3ec624](https://github.com/BitGo/BitGoJS/commit/d3ec6240bddae2a4ab7fa80c4a16efecc36210bd))
175
+
176
+ ### BREAKING CHANGES
177
+
178
+ - **root:** Node 16 is no longer supported in bitgojs.
179
+ TICKET: WP-1100
180
+
181
+ ## [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)
182
+
183
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
184
+
185
+ # [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)
186
+
187
+ ### Features
188
+
189
+ - **sdk-coin-hbar:** fix and test hbar recovery with root keys ([b9bdcb7](https://github.com/BitGo/BitGoJS/commit/b9bdcb73351a0a5131093748eeb9a768777a9e76))
190
+ - **sdk-core:** add new supportsDeriveKeyWithSeed flag ([c82bc46](https://github.com/BitGo/BitGoJS/commit/c82bc4686806d572be158b3862c232ab58547657))
191
+
192
+ ## [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)
193
+
194
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
195
+
196
+ # [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)
197
+
198
+ ### Bug Fixes
199
+
200
+ - **sdk-coin-hbar:** deprecate hbar deriveKeyWithSeed ([b7b3c83](https://github.com/BitGo/BitGoJS/commit/b7b3c8372fc52ffe3aa6027ab02219a66da574b5))
201
+
202
+ ### Features
203
+
204
+ - **sdk-coin-hbar:** implement hbar root keys ([1f85407](https://github.com/BitGo/BitGoJS/commit/1f85407b16f636cc0e9a01c5b1ab9a77337dd148))
205
+
206
+ # [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)
207
+
208
+ ### Bug Fixes
209
+
210
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
211
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
212
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
213
+
214
+ ### Features
215
+
216
+ - **sdk-coin-hbar:** implement recover method for native hbar ([45c4b7a](https://github.com/BitGo/BitGoJS/commit/45c4b7a7591176cb665efbdbb4279d40f3a869dd))
217
+ - **statics:** update thbar usdc token address ([f83d2aa](https://github.com/BitGo/BitGoJS/commit/f83d2aab9e3bc12cebe73b4bb11f284aab00b2ee))
218
+
219
+ # [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)
220
+
221
+ ### Bug Fixes
222
+
223
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
224
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
225
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
226
+
227
+ ### Features
228
+
229
+ - **sdk-coin-hbar:** implement recover method for native hbar ([45c4b7a](https://github.com/BitGo/BitGoJS/commit/45c4b7a7591176cb665efbdbb4279d40f3a869dd))
230
+ - **statics:** update thbar usdc token address ([f83d2aa](https://github.com/BitGo/BitGoJS/commit/f83d2aab9e3bc12cebe73b4bb11f284aab00b2ee))
231
+
232
+ # [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)
233
+
234
+ ### Bug Fixes
235
+
236
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
237
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
238
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
239
+
240
+ ### Features
241
+
242
+ - **sdk-coin-hbar:** implement recover method for native hbar ([45c4b7a](https://github.com/BitGo/BitGoJS/commit/45c4b7a7591176cb665efbdbb4279d40f3a869dd))
243
+ - **statics:** update thbar usdc token address ([f83d2aa](https://github.com/BitGo/BitGoJS/commit/f83d2aab9e3bc12cebe73b4bb11f284aab00b2ee))
244
+
245
+ # [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)
246
+
247
+ ### Bug Fixes
248
+
249
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
250
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
251
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
252
+
253
+ ### Features
254
+
255
+ - **sdk-coin-hbar:** implement recover method for native hbar ([45c4b7a](https://github.com/BitGo/BitGoJS/commit/45c4b7a7591176cb665efbdbb4279d40f3a869dd))
256
+ - **statics:** update thbar usdc token address ([f83d2aa](https://github.com/BitGo/BitGoJS/commit/f83d2aab9e3bc12cebe73b4bb11f284aab00b2ee))
257
+
258
+ # [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)
259
+
260
+ ### Bug Fixes
261
+
262
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
263
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
264
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
265
+
266
+ ### Features
267
+
268
+ - **statics:** update thbar usdc token address ([f83d2aa](https://github.com/BitGo/BitGoJS/commit/f83d2aab9e3bc12cebe73b4bb11f284aab00b2ee))
269
+
270
+ # [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)
271
+
272
+ ### Bug Fixes
273
+
274
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
275
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
276
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
277
+
278
+ ### Features
279
+
280
+ - **statics:** update thbar usdc token address ([f83d2aa](https://github.com/BitGo/BitGoJS/commit/f83d2aab9e3bc12cebe73b4bb11f284aab00b2ee))
281
+
282
+ ## [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)
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
+ ## [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)
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
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
297
+
298
+ ## [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)
299
+
300
+ ### Bug Fixes
301
+
302
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
303
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
304
+
305
+ ## [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)
306
+
307
+ ### Bug Fixes
308
+
309
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
310
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
311
+
312
+ ## [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)
313
+
314
+ ### Bug Fixes
315
+
316
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
317
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
318
+
319
+ ## [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)
320
+
321
+ ### Bug Fixes
322
+
323
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
324
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
325
+
326
+ ## [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)
327
+
328
+ ### Bug Fixes
329
+
330
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
331
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
332
+
333
+ ## [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)
334
+
335
+ ### Bug Fixes
336
+
337
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
338
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
339
+
340
+ ## [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)
341
+
342
+ ### Bug Fixes
343
+
344
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
345
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
346
+
347
+ ## [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)
348
+
349
+ ### Bug Fixes
350
+
351
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
352
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
353
+
354
+ ## [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)
355
+
356
+ ### Bug Fixes
357
+
358
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
359
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
360
+
361
+ ## [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)
362
+
363
+ ### Bug Fixes
364
+
365
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
366
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
367
+
368
+ ## [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)
369
+
370
+ ### Bug Fixes
371
+
372
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
373
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
374
+
375
+ ## [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)
376
+
377
+ ### Bug Fixes
378
+
379
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
380
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
381
+
382
+ ## [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)
383
+
384
+ ### Bug Fixes
385
+
386
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
387
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
388
+
389
+ ## [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)
390
+
391
+ ### Bug Fixes
392
+
393
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
394
+
395
+ ## [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)
396
+
397
+ ### Bug Fixes
398
+
399
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
400
+
401
+ ## [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)
402
+
403
+ ### Bug Fixes
404
+
405
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
406
+
407
+ ## [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)
408
+
409
+ ### Bug Fixes
410
+
411
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
412
+
413
+ ## [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)
414
+
415
+ ### Bug Fixes
416
+
417
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
418
+
419
+ ## [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)
420
+
421
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
422
+
423
+ ## [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)
424
+
425
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
426
+
427
+ ## [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)
428
+
429
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
430
+
431
+ ## [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)
432
+
433
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
434
+
435
+ ## [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)
436
+
437
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
438
+
439
+ # [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)
440
+
441
+ ### Features
442
+
443
+ - **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
444
+ - **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
445
+
446
+ # [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)
447
+
448
+ ### Features
449
+
450
+ - **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
451
+ - **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
452
+
453
+ ## [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)
454
+
455
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
456
+
457
+ ## [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)
458
+
459
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
460
+
461
+ ## [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)
462
+
463
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
464
+
465
+ ## [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)
466
+
467
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
468
+
469
+ ## [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)
470
+
471
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
472
+
473
+ ## [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)
474
+
475
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
476
+
477
+ ## [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)
478
+
479
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
480
+
481
+ ## [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)
482
+
483
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
484
+
485
+ ## [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)
486
+
487
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
488
+
489
+ ## [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)
490
+
491
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
492
+
493
+ ## [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)
494
+
495
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
496
+
497
+ ## [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)
498
+
499
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
500
+
501
+ ## [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)
502
+
503
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
504
+
505
+ ## [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)
506
+
507
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
508
+
509
+ ## [1.3.14](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.11...@bitgo/sdk-coin-hbar@1.3.14) (2023-02-16)
510
+
511
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
512
+
513
+ ## [1.3.13](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.11...@bitgo/sdk-coin-hbar@1.3.13) (2023-02-08)
514
+
515
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
516
+
6
517
  ## [1.3.12](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.11...@bitgo/sdk-coin-hbar@1.3.12) (2023-01-30)
7
518
 
8
519
  **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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